CVE-2024-29025
Netty HttpPostRequestDecoder can OOM
Reported by github_m · Published March 25, 2024
netty-codec-http is fixed in 4.1.108.Final (Maven Central)
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `HttpPostRequestDecoder` can be tricked to accumulate data. While the decoder can store items on the disk if configured so, there are no limits to the number of fields the form can have, an attacher can send a chunked post consisting of many small fields that will be accumulated in the `bodyListHttpData` list. The decoder cumulates bytes in the `undecodedChunk` buffer until it can decode a field, this field can cumulate data without limits. This vulnerability is fixed in 4.1.108.Final.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| io.netty:netty-codec-http | Maven Central | 4.1.108.Final |
| keycloak | Wolfi | 24.0.2-r1 |
| druid | Chainguard | 37.0.0-r8 |
| stargate | Chainguard | 1.0.79-r2 |
| elasticsearch-8 | Chainguard | 8.13.2-r1 |
| spark-3.5 | Chainguard | 3.5.1-r3 |
| docker-selenium-jre-bcfips | Chainguard | 4.19.0.20240328-r0 |
| request-1277 | Chainguard | 0.1.89-r0 |
| seata | Chainguard | 2.7.0-r3 |
| opensearch-2-jre-bcfips | Chainguard | 2.14.0-r0 |
| celeborn-0.5 | Chainguard | 0.5.4-r26 |
| tez | Chainguard | 0.10.4-r6 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| netty | netty | < 4.1.108.Final |
| wolfi | keycloak | 0 |
| chainguard | druid | 0 |
| chainguard | stargate | 0 |
| chainguard | elasticsearch-8 | 0 |
| chainguard | spark-3.5 | 0 |
| chainguard | docker-selenium-jre-bcfips | 0 |
| chainguard | request-1277 | 0 |
| chainguard | seata | 0 |
| netty | netty | 0 |
| chainguard | opensearch-2-jre-bcfips | 0 |
| chainguard | celeborn-0.5 | 0 |
| chainguard | tez | 0 |
| wolfi | neo4j | 0 |
| wolfi | cloudwatch-exporter | 0 |
| chainguard | management-api-for-apache-cassandra-4.0 | 0 |
| wolfi | sonarqube-10 | 0 |
| chainguard | keycloak | 0 |
| chainguard | grpc-java-fips-1.56.0 | * |
| chainguard | wavefront-proxy | 0 |
…and 19 more
Timeline
- Mar 25, 2024 CVE Published
- Mar 26, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 14, 2026 Security Advisory (27 in total, the first dated here)
- Oct 16, 2026 Distribution Patch (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-29025
vulnetix vdb fixes CVE-2024-29025
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-29025/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/netty/netty/security/advisories/GHSA-5jpm-x58v-624v x_refsource_CONFIRM
- https://github.com/netty/netty/commit/0d0c6ed782d13d423586ad0c71737b2c7d02058c x_refsource_MISC
- https://gist.github.com/vietj/f558b8ea81ec6505f1e9a6ca283c9ae3 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-29025 advisory
- https://github.com/advisories/GHSA-5jpm-x58v-624v advisory
- https://github.com/netty/netty url
- https://github.com/vietj/netty/tree/post-request-decoder url