Loading advisory.
Loading advisory.
http4s: Ember Server Accepts Duplicate Content-Length Headers
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 requires a recipient to respond 400 (Bad Request) and close the connection.
Published 2026-09-15 19:20 UTC · Modified 2026-11-30 18:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.http4s:http4s-ember-core_2.12 | Maven | < 0.23.35 versions 0.10.0-M10, 0.21.0, 0.21.0-M2, 0.21.0-M3, 0.21.0-M4, 0.21.0-M5, 0.21.0-M6, 0.21.0-RC1, 0.21.0-RC2, 0.21.0-RC3, 0.21.0-RC4, 0.21.0-RC5, 0.21.1, 0.21.11, 0.21.12, 0.21.13, 0.21.14, 0.21.15, 0.21.16, 0.21.17 and 94 more | 0.23.35 | No single command for Maven. Update to 0.23.35 in your build file. |
| org.http4s:http4s-ember-core_2.13 | Maven | < 0.23.35 >= 1.0.0-M2, < 1.0.0-M47 versions 0.10.0-M10, 0.21.0, 0.21.0-M2, 0.21.0-M3, 0.21.0-M4, 0.21.0-M5, 0.21.0-M6, 0.21.0-RC1, 0.21.0-RC2, 0.21.0-RC3, 0.21.0-RC4, 0.21.0-RC5, 0.21.1, 0.21.11, 0.21.12, 0.21.13, 0.21.14, 0.21.15, 0.21.16, 0.21.17 and 137 more | 0.23.35, 1.0.0-M47 | No single command for Maven. Update to 0.23.35, 1.0.0-M47 in your build file. |
| org.http4s:http4s-ember-core_3 | Maven | >= 1.0.0-M2, < 1.0.0-M47 < 0.23.35 versions 1.0.0-M22, 1.0.0-M23, 1.0.0-M24, 1.0.0-M25, 1.0.0-M27, 1.0.0-M28, 1.0.0-M29, 1.0.0-M30, 1.0.0-M31, 1.0.0-M32, 1.0.0-M33, 1.0.0-M34, 1.0.0-M35, 1.0.0-M36, 1.0.0-M37, 1.0.0-M38, 1.0.0-M39, 1.0.0-M40, 1.0.0-M41, 1.0.0-M42 and 62 more | 1.0.0-M47, 0.23.35 | No single command for Maven. Update to 1.0.0-M47, 0.23.35 in your build file. |
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 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.
The server is vulnerable to HTTP request smuggling when deployed as an origin behind an intermediary that maintains keep-alive connections and frames requests using a different Content-Length value than Ember, which uses a last-wins policy.
Front-end security bypass: the smuggled request reaches paths the intermediary might have blocked, with attacker-chosen method and headers.
Cross-user request hijack: a dangling smuggled prefix concatenates with the next victim's request on the shared backend socket, capturing its sensitive headers (e.g., Cookie or Authorization).
Cache poisoning: the smuggled response is associated with the next request key in a caching proxy.
The same parser is used by the client and applies to the response path. The threat is narrower and less severe than the server:
The upstream server (origin or intermediary) must be malicious or compromised.
The client must be deployed as a proxy shared across multiple downstream consumers. If the misframed bytes are attached to a different downstream user's request on a pooled connection, cross-user response hijack or cache poisoning are possible.
Any EmberServerBuilder HTTP/1.1 config behind an intermediary
Unauthenticated remote attacker able to reach the intermediary
That intermediary forwards at least two differing Content-Length headers without rejecting and frames on a different occurrence of the header
Intermediary keeps persistent upstream connections
The issue is addressed in http4s-0.23.35.
Use a strictly-conformant intermediary that rejects differing Content-Length with 400
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.005 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |