CVE-2022-27779: vulnerability in https://github.com/curl/curl
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
libcurl incorrectly allows websites to set cookies for entire top-level domains (like .com) when the hostname has a trailing dot, potentially causing cookies meant for one site to be sent to unrelated websites.
CVE-2022-27779 exploits a flaw in libcurl's cookie validation logic where trailing dots in hostnames bypass TLD protection checks, allowing arbitrary cookie injection for parent domains. The vulnerability requires the attacker to control a domain and trick a user into visiting it with curl, potentially leading to credential theft or session hijacking across unrelated sites sharing the same TLD.