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.
Severity (CVSS)
| Base score | 6.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-384 — CWE-384: Session Fixation
- CWE-565 — CWE-565: Reliance on Cookies without Validation and Integrity Checking
Affected products
| Vendor | Product | Versions |
|---|---|---|
| http4s | http4s | < 0.23.35; >= 1.0.0-M1, < 1.0.0-M47 |
References
- https://github.com/http4s/http4s/security/advisories/GHSA-wv64-j4fq-5f9x (x_refsource_CONFIRM)
- https://github.com/http4s/http4s/commit/87535f7288f3baaf6736e2735087e473762b5b2f (x_refsource_MISC)
- https://github.com/http4s/http4s/releases/tag/v0.23.35 (x_refsource_MISC)
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47 (x_refsource_MISC)
Generated from the official CVE List on 16 Sep 2026 07:01 UTC.