CVE-2024-29025Netty HttpPostRequestDecoder can OOM
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | netty | Fix pending | 1:4.1.48-4+deb11u2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-29025 |
| Ubuntu 20.04 | netty | Fix pending | 1:4.1.45-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-29025 |
| Ubuntu 18.04 | netty | Fix pending | 1:4.1.7-4ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2024-29025 |
| Ubuntu 16.04 | netty | Fix pending | 1:4.0.34-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-29025 |
| Debian 14 | netty | Fixed | 1:4.1.48-10 | DEBIAN-CVE-2024-29025 |
| Debian 13 | netty | Fixed | 1:4.1.48-10 | DEBIAN-CVE-2024-29025 |
| Debian 12 | netty | Fixed | 1:4.1.48-7+deb12u2 | DEBIAN-CVE-2024-29025 |
| Maven library | io.netty:netty-codec-http | Fixed | 4.1.108.Final | GHSA-5jpm-x58v-624v |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- netty: affected: < 4.1.108.Final
References
- https://github.com/netty/netty/security/advisories/GHSA-5jpm-x58v-624v
- https://github.com/netty/netty/commit/0d0c6ed782d13d423586ad0c71737b2c7d02058c
- https://gist.github.com/vietj/f558b8ea81ec6505f1e9a6ca283c9ae3
- https://lists.debian.org/debian-lts-announce/2024/06/msg00015.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.