GHSA-558v-64gr-wgg4
Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.netty:netty-codec-compression | >= 4.2.0.Final, < 4.2.16.Final | 4.2.16.Final |
| Maven | io.netty:netty-codec | < 4.1.136.Final | 4.1.136.Final |
Details
As written in the advisory (Markdown source, shown as plain text).
The `Bzip2Decoder` handler in Netty's compression codec pipeline is vulnerable to a denial-of-service attack through a malformed bzip2 stream that permanently captures the event-loop thread in an infinite loop. The vulnerability exists in the run-length encoding (RLE) state machine within [`Bzip2BlockDecompressor.read()`]
References
External links from the advisory. They lead to third-party sites.