Vulnerability · Published Mar 25, 2024 · Assigned by GitHub_M
CVE-2024-29025Netty HttpPostRequestDecoder can OOM
Medium 5.3
In plain English
A medium-severity resource allocation without limits in netty from netty. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | netty | 1:4.1.48-7+deb12u2 | DEBIAN-CVE-2024-29025 |
| Debian:13 | netty | 1:4.1.48-10 | DEBIAN-CVE-2024-29025 |
| Debian:14 | netty | 1:4.1.48-10 | DEBIAN-CVE-2024-29025 |
| Maven | io.netty:netty-codec-http | 4.1.108.Final | GHSA-5jpm-x58v-624v |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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://lists.debian.org/debian-lts-announce/2024/06/msg00015.html