Impact
Based on the description, the vulnerability resides in the CookieJar middleware of the Http4s HTTP library, which accepts a Set-Cookie header without validating that its Domain attribute matches the origin of the response or rejecting public suffixes. This flaw allows a malicious or compromised server to store a cookie for an arbitrary domain in the jar. Subsequent requests to that domain will then send the forged cookie, enabling session fixation, cookie overwrite, and other attacks that rely on the integrity of session cookies.
Affected Systems
Any application using the http4s library before version 0.23.35 or before 1.0.0-M47 is potentially vulnerable. The affected product is the http4s HTTP client and server framework, with the specific vulnerable revisions noted by the CVE report.
Risk and Exploitability
Based on the description, the likely attack vector is that an attacker serves a Set-Cookie header from a server that the vulnerable application trusts, which may be any server on the network or a compromised upstream proxy. The CVSS score of 6.8 indicates moderate severity, and the absence of an EPSS score and a KEV listing suggest limited real-world exploitation so far. Successful exploitation would allow a session hijack or replacement of security-critical cookies.
OpenCVE Enrichment
Github GHSA