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

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

Event History

Mar 25, 2024
Advisory Published
via GitHub·07:40 PM
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 NVD·08:15 PM
RemedyAffected Software
Apr 3, 2024
Data Sourced
via Red Hat·08:39 AM
DescriptionSeverityAffected Software
Feb 24, 2025
Data Sourced
via Ubuntu·04:55 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·04:56 AM
Description
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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