cve.bz

CVE-2024-5971 Uncontrolled Recursion

7.5 highEPSS 2.9%Fix available

High (7.5). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in io.undertow:undertow-core 2.2.34.Final, 2.3.15.Final.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-07-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • io.undertow:undertow-core (Maven): fixed in 2.3.15.Final, 2.2.34.Final
  • Red Hat Red Hat JBoss Enterprise Application Platform: fixed in 2.2.33.SP1-redhat-00001
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8: fixed in 0:2.2.33-1.SP1_redhat_00001.1.el8eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9: fixed in 0:2.2.33-1.SP1_redhat_00001.1.el9eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7: fixed in 0:2.2.33-1.SP1_redhat_00001.1.el7eap
  • Debian, Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-5971 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5971?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5971?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5971 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat JBoss Enterprise Application Platform2.2.33.SP1-redhat-00001
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 80:2.2.33-1.SP1_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 90:2.2.33-1.SP1_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 70:2.2.33-1.SP1_redhat_00001.1.el7eap

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xpp6-8r3j-ww43Mavenio.undertow:undertow-core>=2.3.0.Alpha1 <2.3.15.Final2.3.15.Final
GHSA-xpp6-8r3j-ww43Mavenio.undertow:undertow-core<2.2.34.Final2.2.34.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14undertow2.3.18-1DEBIAN-CVE-2024-5971
Ubuntu25.10, 26.04:LTS, 26.10 and 5 moreundertowno fix listedUBUNTU-CVE-2024-5971
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-bouncycastle, eap7-bouncycastle-pg, eap7-bouncycastle-mail and 3 more0:1.78.1-1.redhat_00002.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.23-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.17-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jandex0:2.4.5-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-remoting0:5.0.29-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-37.Final_redhat_00037.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.16-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-log4j-jboss-logmanager0:1.3.1-1.Final_redhat_00002.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 27 more0:4.1.108-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty-xnio-transport0:0.1.10-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow0:2.2.33-1.SP1_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.18-1.GA_redhat_00001.1.el7eapRHSA-2024:5143
24 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The identified vulnerability in Undertow, where chunked responses fail to terminate properly under Java 17 with TLSv1.3, represents a significant security concern due to its potential for uncontrolled resource consumption and denial of service (DoS) attacks. This issue arises from Undertow's mishandling of chunked response termination after initial data flushing, leading to clients waiting indefinitely for completion signals that are not sent. Such behavior could be exploited by malicious actors to exhaust server resources, resulting in service degradation or unavailability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 3.20.7 for Spring BootundertowFixed 2024-09-19RHSA-2024:6883
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2undertowFixed 2024-07-25RHSA-2024:4884
Red Hat build of Apache Camel 4.4.2 for Spring BootFixed 2024-09-09RHSA-2024:6508
Red Hat JBoss Enterprise Application Platformio.undertow/undertow-core:2.2.33.SP1-redhat-00001Fixed 2024-08-08RHSA-2024:5147
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el8eapFixed 2024-08-08RHSA-2024:5144
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el9eapFixed 2024-08-08RHSA-2024:5145
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el7eapFixed 2024-08-08RHSA-2024:5143
Red Hat JBoss Enterprise Application Platform 8undertow-coreFixed 2024-07-08RHSA-2024:4392
Red Hat build of Apache Camel for Spring Boot 3undertowAffected
Red Hat build of Apache Camel - HawtIO 4undertowAffected
Red Hat Build of KeycloakundertowNot affected
Red Hat build of Quarkusquarkus-undertowNot affected
Red Hat Data Grid 8undertowNot affected
Red Hat Fuse 7undertowAffected
Red Hat Integration Camel K 1undertowWill not fix
Red Hat JBoss Data Grid 7undertowOut of support scope
Red Hat JBoss Enterprise Application Platform 7undertow-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packundertow-coreNot affected
Red Hat Process Automation 7undertowOut of support scope
Red Hat Single Sign-On 7undertowNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5971.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON