netty-codec-http2 is vulnerable to Denial of Service (DoS)
75
High Risk
Netty's HTTP/2 content decompression via DelegatingDecompressorFrameListener leaks direct ByteBuf memory when a remote peer sends DATA frames for a stream whose decompressor channel has already been closed. In Http2Decompressor.decompress(...), data.retain() increments the buffer reference count before writeInbound(...), but when the internal decompressor EmbeddedChannel is already closed, ensureOpen() throws and the extra reference is never released on the error path. A remote, unauthenticated attacker can repeat this over a long-lived HTTP/2 connection to exhaust direct memory and crash the JVM with OutOfMemoryError.
You are affected if you are using a version that falls within the vulnerable range and your application enables HTTP/2 content decompression via DelegatingDecompressorFrameListener.
netty-codec-http2 is vulnerable to Denial of Service (DoS) in versions 4.1.0.Final - 4.1.135.Final and 4.2.0 - 4.2.15.Final.
Upgrade the io.netty:netty-codec-http2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant