Loading advisory.
Loading advisory.
Http4s Ember Transfer-Encoding value parsing (TE.CL / TE.0 request smuggling)
Ember's HTTP/1.1 header parser matches the Transfer-Encoding header value with a case-sensitive substring test (hValue.contains("chunked")). RFC 9112 §7 requires transfer-coding names to be compared case-insensitively.
Published 2026-09-15 19:15 UTC · Modified 2026-09-15 20:00 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_3 | Maven | < 0.23.35 >= 1.0.0-M1, < 1.0.0-M47 versions 0.22.0, 0.22.0-M8, 0.22.0-RC1, 0.22.1, 0.22.10, 0.22.11, 0.22.12, 0.22.13, 0.22.14, 0.22.15, 0.22.2, 0.22.3, 0.22.4, 0.22.5, 0.22.6, 0.22.7, 0.22.8, 0.22.9, 0.23.0, 0.23.0-M1 and 62 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_2.13 | Maven | < 0.23.35 >= 1.0.0-M1, < 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_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. |
Ember's HTTP/1.1 header parser matches the Transfer-Encoding header value
with a case-sensitive substring test (hValue.contains("chunked")). RFC
9112 §7 requires transfer-coding names to be compared case-insensitively. A
request carrying Transfer-Encoding: Chunked (capital C) is therefore not
recognised as chunked, and Ember falls back to framing by Content-Length
(or zero if absent) while a compliant intermediary frames the same bytes by
chunked encoding. The two parsers then disagree on where the request body
ends, enabling HTTP request smuggling (TE.CL / TE.0).
The same line of code admits two further variants:
The substring test misfires on Transfer-Encoding: notchunked (an inverse
desync — Ember treats it as chunked while a compliant intermediary
rejects the unknown coding).
Header field bytes are decoded with the platform-default charset. Under
UTF-8 the wire bytes E2 84 AA decode to U+212A KELVIN SIGN, which
String.equalsIgnoreCase Unicode-case-folds to k, so
Transfer-Encoding: chun<U+212A>ed matches chunked once the comparison
is made case-insensitive without also pinning the decode to ISO-8859-1.
Request smuggling when ember-server is an origin behind an intermediary that
honours Transfer-Encoding case-insensitively per RFC, forwards the header
value verbatim, and reuses keep-alive connections to the backend:
Front-end security bypass: the smuggled request reaches paths the intermediary's ACL/auth layer would have blocked, with attacker-chosen method and headers.
Cross-user request hijack: a partial smuggled prefix left in Ember's
connection buffer is concatenated with the next victim's request on the
same pooled backend connection, exposing its headers (e.g. Cookie,
Authorization) to the attacker.
Cache poisoning: the smuggled response is associated with the next request key in a caching proxy.
ember-client shares the same HeaderP.parse on the response path, enabling
response smuggling when http4s is used as a gateway. This is less severe: it
requires a malicious or compromised upstream rather than an anonymous remote
client.
Unauthenticated remote attacker (server)
ember-server as origin behind a keep-alive intermediary
Intermediary treats Transfer-Encoding case-insensitively (per RFC) and
forwards the header value without lowercasing it
Malicious or compromised upstream (client)
Intermediary fully buffers and re-encodes request bodies (e.g. nginx with
default proxy_request_buffering on)
Intermediary normalises the Transfer-Encoding value (lowercases the
token) before forwarding
Disable backend keep-alive between the intermediary and Ember
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 |