MEDIUM 5.3
GHSA-c2gf-v879-257j
netty-codec-http2: ByteBuf Reference-Count Leak in DelegatingDecompressorFrameListener Leads to Memory Exhaustion
상세
### Impact
The `DelegatingDecompressorFrameListener` class orchestrates HTTP/2 decompression by embedding a per-stream `EmbeddedChannel` that runs the appropriate decompression codec (gzip, deflate, zstd) and forwards decompressed chunks to a wrapped listener. Each decompressed chunk is a pooled `ByteBuf` handed to an anonymous `ChannelInboundHandlerAdapter` tail handler, which becomes the sole owner responsible for releasing it.
A remote peer could send frames that would result in the flow-controller throwing and so trigger a resource leak which at the end might take down the whole JVM due OOME.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
Maven / io.netty:netty-codec-http2
최초 영향 버전:
0 수정 버전: 4.1.135.Final 수정
# pom.xml: bump <version>4.1.135.Final</version> for io.netty:netty-codec-http2 Maven / io.netty:netty-codec-http2
최초 영향 버전:
4.2.0.Alpha1 수정 버전: 4.2.15.Final 수정
# pom.xml: bump <version>4.2.15.Final</version> for io.netty:netty-codec-http2