CVE-2024-7885
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.
How to fix
- io.undertow:undertow-core2.2.36.Final, 2.3.17.Final or later
- access.redhat.com/security/cve/CVE-2024-7885
- bugzilla.redhat.com/show_bug.cgi?id=2305290
- access.redhat.com/errata/RHSA-2024:11023
- access.redhat.com/errata/RHSA-2024:6508
- access.redhat.com/errata/RHSA-2024:6883
- access.redhat.com/errata/RHSA-2024:7441
- access.redhat.com/errata/RHSA-2024:7442
- access.redhat.com/errata/RHSA-2024:7735
- access.redhat.com/errata/RHSA-2024:7736
- access.redhat.com/errata/RHSA-2024:8080
- access.redhat.com/errata/RHSA-2025:16667
- access.redhat.com/errata/RHSA-2026:0743
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat build_of_apache_camel_-_hawtio | No range specified | — |
| redhat build_of_apache_camel_for_spring_boot | No range specified | — |
| redhat build_of_keycloak | No range specified | — |
| redhat data_grid | 8.0.0 | — |
| redhat integration_camel_k | No range specified | — |
| redhat jboss_enterprise_application_platform | 7.0.0, 8.0.0 | — |
| redhat jboss_fuse | 7.0.0 | — |
| redhat process_automation | 7.0 | — |
| redhat single_sign-on | 7.0 | — |
| io.undertow:undertow-coreMaven | v < 2.2.36.Final, 2.3.0.Alpha1 ≤ v < 2.3.17.Final | 2.2.36.Final, 2.3.17.Final |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.