← Vulnerabilities

HighAdvisoryJava

http4s: Ember Server Accepts Duplicate Content-Length Headers

Affected

PackageAffected versionsFixed in
maven:org.http4s:http4s-ember-core_2.12< 0.23.350.23.35
maven:org.http4s:http4s-ember-core_2.13< 0.23.350.23.35
maven:org.http4s:http4s-ember-core_2.13>= 1.0.0-M2, < 1.0.0-M471.0.0-M47
maven:org.http4s:http4s-ember-core_3>= 1.0.0-M2, < 1.0.0-M471.0.0-M47
maven:org.http4s:http4s-ember-core_3< 0.23.350.23.35

Ember's HTTP/1.1 parser accepts a request that carries two Content-Length headers with differing values, accepting the latter value. [RFC 9112 §6.3](https://www.rfc-editor.org/info/rfc9112/#section-6.3-2.5) requires a recipient to respond 400 (Bad Request) and close the connection. When an Ember server is deployed behind a intermediary that frames on a different occurrence of the header, HTTP request smuggling (CL.CL desync) is possible. Impact Server The server is vulnerable to HTTP request sm…

Read on GitHub Advisory Database

On 12/01/2026, 03:41 AM, GitHub Advisory Database published "http4s: Ember Server Accepts Duplicate Content-Length Headers" (type: Advisory). Severity is "High" (high). Related technologies: Java. CVE: CVE-2026-69217.