GitHub Advisoryadvisory · Maven

GHSA-9623-mqmm-5rcf Undertow vulnerable to Race Condition

HIGH Published 2024-08-21 Modified 2026-01-19 Official page ↗
Aliases
CVE-2024-7885
Ecosystem
Maven
Packages
io.undertow:undertow-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-362
Reviewed
2024-08-21

Affected packages

• Maven io.undertow:undertow-core: < 2.2.36.Final → fixed in 2.2.36.Final • Maven io.undertow:undertow-core: >= 2.3.0.Alpha1, < 2.3.17.Final → fixed in 2.3.17.Final

Description

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.

Related

Alias · CVE (1)

  • CVE-2024-7885 A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. vulnerability

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References