Moderate severityNVD Advisory· Published Sep 23, 2025· Updated Sep 23, 2025
Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section
CVE-2025-59822
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.http4s:http4s-ember-core_2.12Maven | < 0.23.31 | 0.23.31 |
org.http4s:http4s-ember-core_2.13Maven | < 0.23.31 | 0.23.31 |
org.http4s:http4s-ember-core_3Maven | < 0.23.31 | 0.23.31 |
org.http4s:http4s-ember-core_2.13Maven | >= 1.0.0-M1, < 1.0.0-M45 | 1.0.0-M45 |
org.http4s:http4s-ember-core_3Maven | >= 1.0.0-M1, < 1.0.0-M45 | 1.0.0-M45 |
Affected products
4- ghsa-coords3 versionspkg:maven/org.http4s/http4s-ember-core_2.12pkg:maven/org.http4s/http4s-ember-core_2.13pkg:maven/org.http4s/http4s-ember-core_3
< 0.23.31+ 2 more
- (no CPE)range: < 0.23.31
- (no CPE)range: < 0.23.31
- (no CPE)range: < 0.23.31
- http4s/http4sv5Range: < 0.23.31
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-wcwh-7gfw-5wrrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59822ghsaADVISORY
- github.com/http4s/http4s/commit/dd518f7c967e5165813b8d4a48a82b8fab852d41ghsax_refsource_MISCWEB
- github.com/http4s/http4s/security/advisories/GHSA-wcwh-7gfw-5wrrghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.