Netty
Netty: Lz4FrameDecoder resource exhaustion
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, Lz4FrameDecoder allocates a ByteBuf of size decompressedLength (up to 32 MB per block) before LZ4 runs. A peer only needs a 21-byte header plus compressedLength payload bytes - 22 bytes if compressedLength == 1 - to force that allocation. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.2.0.Alpha1, < 4.2.13.Final
- < 4.1.133.Final
Fixed in 4.2.13.Final, 4.1.133.Final
- < 4.1.133.Final
Fixed in 4.1.133.Final
- < 4.2.13.Final
Fixed in 4.2.13.Final
Mitigation
Upgrade netty to 4.2.13.Final or 4.1.133.Final or later.
Upgrade netty-codec to 4.1.133.Final or later.
Upgrade netty-codec-compression 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.