GHSA-c69g-56f8-xwqj
Netty: [codec-http2] Lack of Host Header Deduplication in HTTP/2→HTTP/1.x Translation Leads to Request Routing Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.netty:netty-codec-http2 | >= 4.2.0.Final, < 4.2.16.Final | 4.2.16.Final |
| Maven | io.netty:netty-codec-http2 | < 4.1.136.Final | 4.1.136.Final |
Details
As written in the advisory (Markdown source, shown as plain text).
Netty's HTTP/2-to-HTTP/1.x translation layer (`Http2StreamFrameToHttpObjectCodec` and `InboundHttp2ToHttpAdapter`) fails to deduplicate or validate `Host` headers when an HTTP/2 client supplies both the `:authority` pseudo-header and a literal `host` header in a single HEADERS frame. The translator maps `:authority` to `Host` and separately copies the literal `host` header, producing an `HttpRequest` object containing two `Host` headers with attacker-controlled differing values.
References
External links from the advisory. They lead to third-party sites.