CyberRota Analysis
AI-GeneratedThe CookieJar client middleware in Http4s versions prior to 0.23.35 and 1.0.0-M47 is vulnerable to session fixation attacks due to improper validation of the Domain attribute in response cookies. This flaw allows a malicious server to set cookies for different domains, potentially leading to the compromise of security-sensitive information. Developers and organizations using affected versions of Http4s should prioritize updating to the patched versions to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. This issue is fixed in versions 0.23.35 and 1.0.0-M47.