GitHub Advisoryadvisory · Maven
GHSA-9623-mqmm-5rcf Undertow vulnerable to Race Condition
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-7885 advisory
- https://github.com/undertow-io/undertow/commit/ce5182c37376982ef0abee34fce0d8c0aab0fab8 web
- https://github.com/undertow-io/undertow/commit/80c125e09068ac52ed0a9acde266ef12f8ed7ae1 web
- https://security.netapp.com/advisory/ntap-20241011-0004 web
- https://github.com/undertow-io/undertow/blob/182e4ca1543c52f438b0244c930dca3d8b6e68e3/core/src/main/java/io/undertow/server/protocol/proxy/ProxyProtocolReadListener.java web
- https://github.com/undertow-io/undertow package
- https://bugzilla.redhat.com/show_bug.cgi?id=2305290 web
- https://access.redhat.com/security/cve/CVE-2024-7885 web
- https://access.redhat.com/errata/RHSA-2026:0743 web
- https://access.redhat.com/errata/RHSA-2025:16667 web
- https://access.redhat.com/errata/RHSA-2024:8080 web
- https://access.redhat.com/errata/RHSA-2024:7736 web
- https://access.redhat.com/errata/RHSA-2024:7735 web
- https://access.redhat.com/errata/RHSA-2024:7442 web
- https://access.redhat.com/errata/RHSA-2024:7441 web
- https://access.redhat.com/errata/RHSA-2024:6883 web
- https://access.redhat.com/errata/RHSA-2024:6508 web
- https://access.redhat.com/errata/RHSA-2024:11023 web