Vulnerability · Published Aug 21, 2024 · Assigned by redhat

CVE-2024-7885Undertow: improper state management in proxy protocol parsing causes information leakage

High 7.5

In plain English

A high-severity race condition in undertow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.6%top 14.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14undertow2.3.18-1DEBIAN-CVE-2024-7885
Mavenio.undertow:undertow-core2.2.36.FinalGHSA-9623-mqmm-5rcf
Mavenio.undertow:undertow-core2.3.17.FinalGHSA-9623-mqmm-5rcf
Ubuntu:25.10undertowno fix listedUBUNTU-CVE-2024-7885
Ubuntu:26.04:LTSundertowno fix listedUBUNTU-CVE-2024-7885
Ubuntu:26.10undertowno fix listedUBUNTU-CVE-2024-7885

Affected products (as reported)

VendorProductVersions
undertow 0 – before 2.2.36.Final2.3.0.Alpha1 – before 2.3.17.Final
Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4 see references
Red Hat Red Hat build of Apache Camel 3.20.7 for Spring Boot see references
Red Hat Red Hat build of Apache Camel 4.4.2 for Spring Boot see references
Red Hat Red Hat JBoss Enterprise Application Platform see references
Red Hat Red Hat JBoss Enterprise Application Platform 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 8 see references
Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 see references
Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 see references

Weakness: CWE-362 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References