ADVISORIES

GitHub Advisory Database

GHSA-558v-64gr-wgg4

Netty: [Bzip2Decoder] Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang

Details

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()]

Affected packages

EcosystemPackageAffected versions
Mavenio.netty:netty-codec-compression
From 4.2.0.Final before 4.2.16.Final (fixed in 4.2.16.Final)
Mavenio.netty:netty-codec
All versions before 4.1.136.Final (fixed in 4.1.136.Final)

References