GitHub Advisory Database
GHSA-4mp9-239f-g9hg
Netty: WebSockets V07/V08 handshaker missing Connection/Upgrade validation
Details
Summary
An attacker can force WebSocket upgrade via the lax V07 (or V08) handshaker by sending Sec-WebSocket-Version: 7 and omitting Connection: Upgrade / Upgrade: websocket headers, completing a protocol switch that a proxy would not recognize as an Upgrade request and enabling HTTP request smuggling / protocol-confusion attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | io.netty:netty-codec-http | From 4.2.0.Final before 4.2.16.Final (fixed in 4.2.16.Final) |
| Maven | io.netty:netty-codec-http | All versions before 4.1.136.Final (fixed in 4.1.136.Final) |