Description
Netty's HttpServerCodec (io.netty:netty-codec-http) in versions 4.2.0.Final through 4.2.16.Final and in versions up to and including 4.1.136.Final pairs each outbound response with an inbound request by calling pollMethod() once per response, including for 1xx informational responses. If a client pipelines an HTTP/1.1 GET carrying an Expect: 100-continue header followed by a HEAD request, the 100 Continue response consumes the queued GET method, so the subsequent 200 OK for the GET is paired with HEAD and its body is dropped, while the following 200 OK for the HEAD request is written with a body. This desynchronizes HTTP parsing on the connection: the GET entity is never delivered and the HEAD response body is interpreted as the GET body, resulting in response splitting and unsafe connection reuse. Fixed in 4.2.17.Final and 4.1.137.Final.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| netty | netty | 4.2.0.Final – < 4.2.17.Final, < 4.1.137.Final | 4.2.17.Final |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netty | No fix yet | — |
| Debian 13 | netty | No fix yet | — |
| Debian 12 | netty | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netty | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 24.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 22.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 20.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 18.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 16.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 14.04 LTS | netty | No fix yet | — |
References
- GitHub Security Advisory (GHSA-2g6j-r8q9-5hr8) vendor-advisory
- VulnCheck Advisory: Netty 4.2.0 through 4.2.17 Response Desynchronization via HttpServerCodec third-party-advisory