VDB
KO
HIGH

GHSA-hmq9-67w8-j5pw

netty-incubator-codec-ohttp: BinaryHttpParser should enforce limits for variable lengths fields

Quick fix

GHSA-hmq9-67w8-j5pw — io.netty.incubator:netty-incubator-codec-bhttp: upgrade to the fixed version with the command below.

# pom.xml: bump <version>0.0.23.Final</version> for io.netty.incubator:netty-incubator-codec-bhttp

Details

We don't enforce any limits for the encoded variable lengths that are used for fields. As the remote peer controls these it's easy for the remote peer to have us buffer data forever and so ultimately OOM.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / io.netty.incubator:netty-incubator-codec-bhttp
Introduced in: 0 Fixed in: 0.0.23.Final
Fix # pom.xml: bump <version>0.0.23.Final</version> for io.netty.incubator:netty-incubator-codec-bhttp

References