CVE-2024-29025: Netty HttpPostRequestDecoder can OOM

Published Mar 25, 2024
·
Updated

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.

Other sources

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.

— NVD

Affected Software

9 affected componentsFixes available
maven/io.netty:netty-codec-http<4.1.108.Final
4.1.108.Final
Netty Netty<4.1.108
Debian Debian Linux=10.0
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.3.0, 5.3.1
redhat/io.netty.netty-codec-http<4.1.108.
4.1.108.
debian/netty<1:4.1.48-7+deb12u2
1:4.1.48-7+deb12u2
debian/netty<1:4.1.48-10
1:4.1.48-10
debian/netty<1:4.1.48-10
1:4.1.48-10
debian/netty
1:4.1.33-1+deb10u51:4.1.48-4+deb11u31:4.1.48-7+deb12u21:4.1.48-10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.netty:netty-codec-http to a version that resolves this vulnerability.

    Fixed in 4.1.108.Final
  2. Upgrade

    Upgrade redhat/io.netty.netty-codec-http to a version that resolves this vulnerability.

    Fixed in 4.1.108.
  3. Upgrade

    Upgrade debian/netty to a version that resolves this vulnerability.

    Fixed in 1:4.1.48-7+deb12u2
  4. Upgrade

    Upgrade debian/netty to a version that resolves this vulnerability.

    Fixed in 1:4.1.48-10
  5. Upgrade

    Upgrade debian/netty to a version that resolves this vulnerability.

    Fixed in 1:4.1.33-1+deb10u5Fixed in 1:4.1.48-4+deb11u3Fixed in 1:4.1.48-7+deb12u2Fixed in 1:4.1.48-10
  6. Upgrade

    Upgrade Netty HttpPostRequestDecoder to a version that resolves this vulnerability.

    Fixed in 4.1.108.FinalPatch GHSA-5jpm-x58v-624v

Event History

Mar 25, 2024
Advisory Published
via GitHub·07:40 PM
Data Sourced
via GitHub·07:40 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·08:09 PM
Data Sourced
via MITRE·08:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·10:31 PM
Data Sourced
via GitHub·10:31 PM
Severity
Apr 3, 2024
Data Sourced
via Red Hat·08:39 AM
DescriptionSeverityAffected Software
May 30, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jul 4, 2024
Updated
via IBM·12:00 AM
Affected Software
Dec 17, 2024
Updated
via IBM·12:00 AM
DescriptionAffected Software
Sep 10, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 17, 2026
Data Sourced
via NVD·07:22 AM
RemedyAffected Software
Sep 28, 2026
Event
via FIRST·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-29025?

CVE-2024-29025 has a moderate severity rating due to its potential for denial of service through excessive data accumulation.

2

How do I fix CVE-2024-29025?

To address CVE-2024-29025, upgrade to version 4.1.108.Final of the io.netty:netty-codec-http package.

3

What are the affected software versions for CVE-2024-29025?

CVE-2024-29025 affects versions prior to 4.1.108.Final of io.netty:netty-codec-http as well as specific versions of IBM Cognos Analytics.

4

What types of attacks are associated with CVE-2024-29025?

CVE-2024-29025 can be exploited through denial of service attacks that leverage unlimited form field accumulations.

5

Is there a patch available for CVE-2024-29025?

Yes, patches are available for affected versions of IBM Cognos Analytics and recommended upgrades for io.netty:netty-codec-http.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203