CVE-2024-7885: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
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.
AI Analysis
Technical Summary
The vulnerability CVE-2024-7885 affects Undertow's ProxyProtocolReadListener component, which reuses a single StringBuilder instance when parsing multiple requests on the same HTTP connection via the parseProxyProtocolV1 method. This improper synchronization leads to a race condition where different requests may share the same StringBuilder, causing potential data leakage between requests or responses. The flaw primarily causes errors and connection termination but can also result in unintended exposure of data from previous requests. Multiple Red Hat advisories confirm the issue and provide security updates to remediate it.
Potential Impact
The vulnerability can cause information leakage between HTTP requests processed on the same connection, potentially exposing data from previous requests or responses. It also leads to errors and connection termination, impacting service availability. No known exploits in the wild have been reported. The CVSS 3.1 base score is 7.5 (high), reflecting the network attack vector, low attack complexity, no privileges required, no user interaction, and an impact primarily on availability.
Mitigation Recommendations
Red Hat has released security updates that address this vulnerability. Users should apply the relevant errata and updates from Red Hat to remediate the issue. Before applying these updates, ensure all previously released errata relevant to your system are applied. Refer to Red Hat's official advisories and update instructions at https://access.redhat.com/articles/11258. Patch status is confirmed as available via these vendor advisories.
CVE-2024-7885: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:maven/io.undertow/undertow-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2024-7885 affects Undertow's ProxyProtocolReadListener component, which reuses a single StringBuilder instance when parsing multiple requests on the same HTTP connection via the parseProxyProtocolV1 method. This improper synchronization leads to a race condition where different requests may share the same StringBuilder, causing potential data leakage between requests or responses. The flaw primarily causes errors and connection termination but can also result in unintended exposure of data from previous requests. Multiple Red Hat advisories confirm the issue and provide security updates to remediate it.
Potential Impact
The vulnerability can cause information leakage between HTTP requests processed on the same connection, potentially exposing data from previous requests or responses. It also leads to errors and connection termination, impacting service availability. No known exploits in the wild have been reported. The CVSS 3.1 base score is 7.5 (high), reflecting the network attack vector, low attack complexity, no privileges required, no user interaction, and an impact primarily on availability.
Mitigation Recommendations
Red Hat has released security updates that address this vulnerability. Users should apply the relevant errata and updates from Red Hat to remediate the issue. Before applying these updates, ensure all previously released errata relevant to your system are applied. Refer to Red Hat's official advisories and update instructions at https://access.redhat.com/articles/11258. Patch status is confirmed as available via these vendor advisories.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2024-08-16T15:35:47.357Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2024:11023","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6508","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6883","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:7441","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:7442","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:7735","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:7736","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:8080","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:16667","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0743","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2024-7885","vendor":"Red Hat"}]
Threat ID: 68faafd950358b89bd7bfd68
Added to database: 10/23/2025, 22:44:41 UTC
Last enriched: 08/11/2026, 17:21:43 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 573
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.