Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-59822 EUVD-2025-30898GHSA-wcwh-7gfw-5wrr

Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section

Published Sep 23, 2025 · Updated Sep 23, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
http4s http4s < 0.23.31, >= 1.0.0-M1, < 1.0.0-M45 —

Affected packages

EcosystemPackageAffectedFixedRecord
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_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 < 0.23.31 0.23.31 GHSA-wcwh-7gfw-5wrr
Maven org.http4s:http4s-ember-core_3 >= 1.0.0-M1, < 1.0.0-M45 1.0.0-M45 GHSA-wcwh-7gfw-5wrr

References