GHSA-grg4-wf29-r9vvHighCVSS 7.5

Bzip2Decoder doesn't allow setting size restrictions for decompressed data

Published
September 9, 2021
Last Modified
August 16, 2023

🔗 CVE IDs covered (1)

📋 Description

Impact

The Bzip2 decompression decoder function doesn't allow setting size restrictions on the decompressed output data (which affects the allocation size used during decompression).

All users of Bzip2Decoder are affected. The malicious input can trigger an OOME and so a DoS attack

Workarounds

No workarounds other than not using the Bzip2Decoder

References

Relevant code areas:

https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/Bzip2Decoder.java#L80 https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/Bzip2Decoder.java#L294 https://github.com/netty/netty/blob/netty-4.1.67.Final/codec/src/main/java/io/netty/handler/codec/compression/Bzip2Decoder.java#L305

🎯 Affected products3

  • maven/io.netty:netty-codec:< 4.1.68.Final
  • maven/org.jboss.netty:netty:< 4.0.0
  • maven/io.netty:netty:< 4.0.0

🔗 References (19)