CVE Vulnerabilities

CVE-2024-5971

Uncontrolled Recursion

Published: Jul 08, 2024 | Modified: Nov 21, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 0rn 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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
Red Hat build of Apache Camel 3.20.7 for Spring BootRedHatundertow*
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2RedHatundertow*
Red Hat build of Apache Camel 4.4.2 for Spring BootRedHat*
Red Hat JBoss Enterprise Application Platform 7RedHat*
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8RedHateap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el8eap*
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9RedHateap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el9eap*
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7RedHateap7-undertow-0:2.2.33-1.SP1_redhat_00001.1.el7eap*
Red Hat JBoss Enterprise Application Platform 8RedHatundertow-core*
UndertowUbuntufocal*
UndertowUbuntuoracular*
UndertowUbuntuplucky*

Potential Mitigations

References