Search for packages
Package details: pkg:maven/io.netty/netty-codec-http@4.1.44.Final
purl pkg:maven/io.netty/netty-codec-http@4.1.44.Final
Next non-vulnerable version 4.1.108.Final
Latest non-vulnerable version 4.1.108.Final
Risk 3.1
Vulnerabilities affecting this package (3)
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.
4.1.108.Final
Affected by 0 other vulnerabilities.
VCID-ddff-syux-4uhz
Aliases:
CVE-2021-21290
GHSA-5mcr-gq6c-3hq2
Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. 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. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method "File.createTempFile" on unix-like systems creates a random file, but, by default will create this file with the permissions "-rw-r--r--". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's "AbstractDiskHttpData" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may specify your own "java.io.tmpdir" when you start the JVM or use "DefaultHttpDataFactory.setBaseDir(...)" to set the directory to something that is only readable by the current user.
4.1.59.Final
Affected by 2 other vulnerabilities.
VCID-guem-61xt-mycx
Aliases:
CVE-2021-43797
GHSA-wx5j-54mm-rqqq
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.
4.1.71.Final
Affected by 1 other vulnerability.
4.1.71
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (3)
Vulnerability Summary Aliases
VCID-1nbf-66f8-x7h2 Netty 4.1.43.Final allows HTTP Request Smuggling because it mishandles Transfer-Encoding whitespace (such as a [space]Transfer-Encoding:chunked line) and a later Content-Length header. This issue exists because of an incomplete fix for CVE-2019-16869. CVE-2020-7238
GHSA-ff2w-cq2g-wv5f
VCID-fm8k-swyd-3fbc HttpObjectDecoder.java in Netty before 4.1.44 allows an HTTP header that lacks a colon, which might be interpreted as a separate header with an incorrect syntax, or might be interpreted as an "invalid fold." CVE-2019-20444
GHSA-cqqj-4p63-rrmm
VCID-sf1p-fp2z-bkb6 HttpObjectDecoder.java in Netty before 4.1.44 allows a Content-Length header to be accompanied by a second Content-Length header, or by a Transfer-Encoding header. CVE-2019-20445
GHSA-p2v9-g2qv-p635

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-03T19:01:49.602521+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-03T18:07:50.553912+00:00 GitLab Importer Affected by VCID-guem-61xt-mycx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2021-43797.yml 37.0.0
2025-07-03T17:54:30.358911+00:00 GitLab Importer Affected by VCID-ddff-syux-4uhz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2021-21290.yml 37.0.0
2025-07-03T17:38:24.994151+00:00 GitLab Importer Fixing VCID-sf1p-fp2z-bkb6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2019-20445.yml 37.0.0
2025-07-03T17:38:23.168281+00:00 GitLab Importer Fixing VCID-fm8k-swyd-3fbc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2019-20444.yml 37.0.0
2025-07-03T17:38:19.198705+00:00 GitLab Importer Fixing VCID-1nbf-66f8-x7h2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2020-7238.yml 37.0.0
2025-07-03T13:54:59.921830+00:00 GitLab Importer Fixing VCID-sf1p-fp2z-bkb6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2019-20445.yml 36.1.3
2025-07-03T13:54:59.603225+00:00 GitLab Importer Fixing VCID-fm8k-swyd-3fbc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2019-20444.yml 36.1.3
2025-07-03T13:54:58.862459+00:00 GitLab Importer Fixing VCID-1nbf-66f8-x7h2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/io.netty/netty-codec-http/CVE-2020-7238.yml 36.1.3