io.netty:netty-codec@4.1.19.Final vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the io.netty:netty-codec package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Denial of Service (DoS)

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Denial of Service (DoS). Bzip2Decoder doesn't allow setting size restrictions for decompressed data. An attacker can exploit this by providing a compressed file that, when decompressed, triggers an out-of-memory exception.

How to fix Denial of Service (DoS)?

Upgrade io.netty:netty-codec to version 4.1.68.Final or higher.

[,4.1.68.Final)
  • H
Denial of Service (DoS)

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Denial of Service (DoS). SnappyFrameDecoder doesn't restrict chunk length any mad buffer skippable chunks in an unnecessary way, leading to excessive memory usage. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file), or by sending a huge skippable chunk.

How to fix Denial of Service (DoS)?

Upgrade io.netty:netty-codec to version 4.1.68.Final or higher.

[,4.1.68.Final)
  • H
Uncontrolled Memory Allocation

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Uncontrolled Memory Allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.

How to fix Uncontrolled Memory Allocation?

Upgrade io.netty:netty-codec to version 4.1.46.Final or higher.

[4.1.0.Final,4.1.46.Final)