CVE-2024-7885
Java vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-7885) was discovered in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. The issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. This vulnerability was first disclosed on August 21, 2024, affecting various Red Hat products including JBoss Enterprise Application Platform, Apache Camel, and other systems using Undertow (NVD, Red Hat Advisory).

Technical details

The vulnerability stems from improper state management in Proxy Protocol parsing where different requests may share the same StringBuilder instance. This implementation flaw occurs specifically in the ProxyProtocolReadListener component when handling multiple requests on a single HTTP connection. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely without requiring privileges or user interaction (NetApp Advisory).

Impact

The vulnerability can lead to information leakage between requests or responses, where values from previous requests or responses may be erroneously reused. While the issue primarily results in errors and connection termination, it creates a significant risk of data leakage in multi-request environments. The high severity rating indicates potential for substantial impact on system availability (Red Hat Bugzilla).

Mitigation and workarounds

Multiple vendors have released security updates to address this vulnerability. Red Hat has issued several security advisories (RHSA) and patches for affected products, including JBoss Enterprise Application Platform 7.4 and 8.0, Apache Camel 3.20.7 and 4.4.2 for Spring Boot, and other affected systems. Users are advised to apply the available security updates (RHSA-2024:7735, RHSA-2024:6508).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-58365HIGH8.7
  • JavaJava
  • org.xwiki.contrib.blog:application-blog-ui
NoYesSep 08, 2025
CVE-2025-58369MEDIUM5.3
  • JavaJava
  • co.fs2:fs2-io_2.11
NoYesSep 05, 2025
GHSA-c7v7-rqfm-f44jMEDIUM5.3
  • JavaJava
  • com.vaadin:vaadin
NoYesSep 04, 2025
GHSA-94g8-xv23-7656MEDIUM5.3
  • JavaJava
  • com.vaadin:vaadin-upload-flow
NoYesSep 04, 2025
CVE-2025-9467MEDIUM5.3
  • JavaJava
  • com.vaadin:vaadin-server
NoYesSep 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management