netty-incubator-codec-ohttp: BinaryHttpParser should enforce limits for variable lengths fieldsGHSA-hmq9-67w8-j5pw
GHSA-hmq9-67w8-j5pw is a CWE-770 vulnerability in io.netty.incubator:netty-incubator-codec-bhttp. A fix is available for io.netty.incubator:netty-incubator-codec-bhttp — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
io.netty.incubator:netty-incubator-codec-bhttpReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty. Prior to 0.0.23.Final, BinaryHttpParser does not enforce limits on encoded variable-length fields controlled by a remote peer. A remote peer can cause the decoder to buffer data indefinitely until memory is exhausted, causing denial of service. This issue is fixed in version 0.0.23.Final.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.netty.incubator:netty-incubator-codec-bhttp | all versions | 0.0.23.Finalio.netty.incubator:netty-incubator-codec-bhttp:0.0.23.Final |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.netty.incubator:netty-incubator-codec-bhttp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.netty.incubator:netty-incubator-codec-bhttp to 0.0.23.Final or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hmq9-67w8-j5pw is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-hmq9-67w8-j5pw in your dependencies?
Find it across Maven, including transitive dependencies.