Search for packages
purl | pkg:maven/io.netty/netty-codec-http@4.1.77.Final |
Next non-vulnerable version | 4.1.108.Final |
Latest non-vulnerable version | 4.1.108.Final |
Risk | 3.1 |
Vulnerability | Summary | Fixed by |
---|---|---|
VCID-bx4g-w9et-87hx
Aliases: CVE-2024-29025 GHSA-5jpm-x58v-624v |
Netty's HttpPostRequestDecoder can OOM ### Summary The `HttpPostRequestDecoder` can be tricked to accumulate data. I have spotted currently two attack vectors ### Details 1. 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. 2. The decoder cumulates bytes in the `undecodedChunk` buffer until it can decode a field, this field can cumulate data without limits ### PoC Here is a Netty branch that provides a fix + tests : https://github.com/vietj/netty/tree/post-request-decoder Here is a reproducer with Vert.x (which uses this decoder) https://gist.github.com/vietj/f558b8ea81ec6505f1e9a6ca283c9ae3 ### Impact Any Netty based HTTP server that uses the `HttpPostRequestDecoder` to decode a form. |
Affected by 0 other vulnerabilities. |
Vulnerability | Summary | Aliases |
---|---|---|
VCID-4vwg-qv93-6qbn | Netty is an open-source, asynchronous event-driven network application framework. The package `io.netty:netty-codec-http` prior to version 4.1.77.Final contains an insufficient fix for CVE-2021-21290. When Netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. This only impacts applications running on Java version 6 and lower. Additionally, this vulnerability impacts code running on Unix-like systems, and very old versions of Mac OSX and Windows as they all share the system temporary directory between all users. Version 4.1.77.Final contains a patch for this vulnerability. As a workaround, specify one's own `java.io.tmpdir` when starting the JVM or use DefaultHttpDataFactory.setBaseDir(...) to set the directory to something that is only readable by the current user. |
CVE-2022-24823
GHSA-269q-hmxg-m83q |
Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
---|---|---|---|---|---|
2025-07-03T19:01:49.702900+00:00 | GitLab Importer | Affected by | VCID-bx4g-w9et-87hx | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2024-29025.yml | 37.0.0 |
2025-07-01T14:31:56.517176+00:00 | GHSA Importer | Fixing | VCID-4vwg-qv93-6qbn | https://github.com/advisories/GHSA-269q-hmxg-m83q | 36.1.3 |
2025-07-01T12:29:27.594349+00:00 | GithubOSV Importer | Fixing | VCID-4vwg-qv93-6qbn | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-269q-hmxg-m83q/GHSA-269q-hmxg-m83q.json | 36.1.3 |