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.
CVE-2024-5971 - High Severity Vulnerability
Vulnerable Library - undertow-core-2.0.19.Final.jar
Undertow
Library home page: http://www.jboss.org
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.0.19.Final/undertow-core-2.0.19.Final.jar
Dependency Hierarchy: - spring-boot-starter-undertow-2.1.4.RELEASE.jar (Root Library) - :x: **undertow-core-2.0.19.Final.jar** (Vulnerable Library)
Found in HEAD commit: 3f6d614029f4d6cfdddfcef8468949cb7822503c
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2024-07-08
URL: CVE-2024-5971
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-xpp6-8r3j-ww43
Release Date: 2024-07-08
Fix Resolution (io.undertow:undertow-core): 2.2.35.Final
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.0.0
Step up your Open Source Security Game with Mend here