CVE-2025-59822
Http4s is a Scala interface for HTTP services. In versions from 1.0.0-M1 to before 1.0.0-M45 and before 0.23.31, http4s is vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section. This vulnerability could enable attackers to bypass front-end servers security controls, launch targeted attacks against active users, and poison web caches. A pre-requisite for exploitation involves the web application being deployed behind a reverse-proxy that forwards trailer headers. This issue has been patched in versions 1.0.0-M45 and 0.23.31.
- CVSS 4.0
- 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-10-25)
- CWE
- CWE-444
- Published
- Modified
- Record from
- the NVD, synced
Affected
- typelevel:http4s
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wcwh-7gfw-5wrr | Maven | org.http4s:http4s-ember-core_2.12 | <0.23.31 | 0.23.31 |
| GHSA-wcwh-7gfw-5wrr | Maven | org.http4s:http4s-ember-core_2.13 | <0.23.31 | 0.23.31 |
| GHSA-wcwh-7gfw-5wrr | Maven | org.http4s:http4s-ember-core_3 | <0.23.31 | 0.23.31 |
| GHSA-wcwh-7gfw-5wrr | Maven | org.http4s:http4s-ember-core_2.13 | >=1.0.0-M1 <1.0.0-M45 | 1.0.0-M45 |
| GHSA-wcwh-7gfw-5wrr | Maven | org.http4s:http4s-ember-core_3 | >=1.0.0-M1 <1.0.0-M45 | 1.0.0-M45 |