Netty
Netty: HTTP/3 QPACK literal unbounded allocation
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final, when decoding header blocks, the non-Huffman branch of io.netty.handler.codec.http3.QpackDecoder#decodeHuffmanEncodedLiteral may execute new byte[length] for a string literal before verifying that length bytes are actually present in the compressed field section. The wire encoding allows a very large length to be expressed in few bytes. There is no check that length <= in.readableBytes() before new byte[length]. This vulnerability is fixed in 4.2.13.Final.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.2.0.Alpha1, < 4.2.13.Final
Fixed in 4.2.13.Final
- >= 4.2.0.Alpha1, < 4.2.13.Final
Fixed in 4.2.13.Final
Mitigation
Upgrade netty to 4.2.13.Final or later.
Upgrade netty-codec-http3 to 4.2.13.Final or later.
References
- Vendor advisory github.com/netty/netty/security/advisories/GHS…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.