CVE-2024-5971: Undertow Denial of Service vulnerability
A vulnerability was found in Undertow, where the chunked response hangs after the body was flushed. The response headers and body were sent but the client would continue waiting as Undertow does not send the expected 0\r\n termination of the chunked response. This results in uncontrolled resource consumption, leaving the server side to a denial of service attack. This happens only with Java 17 TLSv1.3 scenarios.
Published Jul 8, 2024 · Updated Sep 30, 2024
Affected packages
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- >= 2.3.0.Alpha1, < 2.3.15.Final
- Fixed in
- 2.3.15.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- < 2.2.34.Final
- Fixed in
- 2.2.34.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in Undertow, where the chunked response hangs after the body was flushed. The response headers and body were sent but the client would continue waiting as Undertow does not send the expected 0\r\n termination of the chunked response. This results in uncontrolled resource consumption, leaving the server side to a denial of service attack. This happens only with Java 17 TLSv1.3 scenarios.
Credited to fawind.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5971
- https://access.redhat.com/security/cve/CVE-2024-5971
- https://bugzilla.redhat.com/show_bug.cgi?id=2292211
- https://access.redhat.com/errata/RHSA-2024:4392
- https://access.redhat.com/errata/RHSA-2024:4884
- https://access.redhat.com/errata/RHSA-2024:5143
- https://access.redhat.com/errata/RHSA-2024:5144
- https://access.redhat.com/errata/RHSA-2024:5145
- https://access.redhat.com/errata/RHSA-2024:5147
- https://access.redhat.com/errata/RHSA-2024:6508
- https://access.redhat.com/errata/RHSA-2024:6883
- https://github.com/undertow-io/undertow/pull/1638
- https://github.com/undertow-io/undertow/pull/1640
- https://github.com/undertow-io/undertow/pull/1641
- https://issues.redhat.com/browse/UNDERTOW-2413
- https://github.com/advisories/GHSA-xpp6-8r3j-ww43
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-28367
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28368
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28369
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-3260
Undertow: Denial of Service via Multipart/Form-Data Parsing on HTTP GET Requests
medium5.9No fixMar 24, 2026CVE-2024-4027
Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
high7.5Jan 30, 2026CVE-2025-12543
Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests
critical9.6No fixJan 7, 2026
