| Package | Affected versions | Patched versions |
|---|---|---|
| org.http4s:http4s-client_2.12 | < 0.23.35 | 0.23.35 |
| org.http4s:http4s-client_2.13 | ≥ 1.0.0-M1, < 1.0.0-M47< 0.23.35 | 1.0.0-M470.23.35 |
| org.http4s:http4s-client_3 | ≥ 1.0.0-M1, < 1.0.0-M47< 0.23.35 | 1.0.0-M470.23.35 |
The CookieJar client middleware decides whether to attach a cookie to an outgoing request using an unanchored substring test on the host and path, instead of the domain match specified by RFC6265 5.1.3. A cookie stored for example.com is therefore sent to any host whose name merely contains example.com (e.g. evilexample.com), leaking potentially sensitive cookies to an attacker-chosen host.
Disclosure of session and authentication cookies to an attacker-controlled host, enabling session hijack of the application's outbound calls.
CookieJar client middleware.CookieJar with clients that fetch attacker-influenced URLsCookieJar per trusted origin.Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free