CVE-2025-59822Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.http4s:http4s-ember-core_2.12 | Fixed | 0.23.31 | GHSA-wcwh-7gfw-5wrr |
| Maven library | org.http4s:http4s-ember-core_2.13 | Fixed | 1.0.0-M45 | GHSA-wcwh-7gfw-5wrr |
| Maven library | org.http4s:http4s-ember-core_3 | Fixed | 1.0.0-M45 | GHSA-wcwh-7gfw-5wrr |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- http4s: affected: < 0.23.31, >= 1.0.0-M1, < 1.0.0-M45
References
- https://github.com/http4s/http4s/security/advisories/GHSA-wcwh-7gfw-5wrr
- https://github.com/http4s/http4s/commit/dd518f7c967e5165813b8d4a48a82b8fab852d41
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.