Improper resource allocation In io.netty:netty-codec-compression
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
maven | 4.2.13.final | ||
maven | 4.1.133.final | ||
debian 11 | - | ||
debian 12 | - | ||
debian 13 | - | ||
debian 14 | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1.