CVE-2024-38816: Path traversal vulnerability in functional web frameworks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 7 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use * the application runs on Tomcat or Jetty
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring | 5.3.x to before 5.3.40; 6.0.x to before 6.0.24; 6.1.x to before 6.1.13 | 5.3.40, 6.0.24, 6.1.13 | Patch available | CNA |
| — | org.springframework:spring-webmvc (Maven) | 6.1.0 to before 6.1.13 | 6.1.13 | Patch available | GHSA-cx7f-g6mp-7hqm |
| — | org.springframework:spring-webflux (Maven) | 6.1.0 to before 6.1.13 | 6.1.13 | Patch available | GHSA-cx7f-g6mp-7hqm |
| — | org.springframework:spring-webmvc (Maven) | 6.0.0 – 6.0.23 | — | No fix listed | GHSA-cx7f-g6mp-7hqm |
| — | org.springframework:spring-webflux (Maven) | 6.0.0 – 6.0.23 | — | No fix listed | GHSA-cx7f-g6mp-7hqm |
| — | org.springframework:spring-webmvc (Maven) | 5.3.0 – 5.3.39 | — | No fix listed | GHSA-cx7f-g6mp-7hqm |
| — | org.springframework:spring-webflux (Maven) | 5.3.0 – 5.3.39 | — | No fix listed | GHSA-cx7f-g6mp-7hqm |
- Spring VendorVMware Affected 5.3.x to before 5.3.40; 6.0.x to before 6.0.24; 6.1.x to before 6.1.13 Fixed in 5.3.40, 6.0.24, 6.1.13 Patch available CNA
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.1.0 to before 6.1.13 Fixed in 6.1.13 Patch available GHSA-cx7f-g6mp-7hqm
- org.springframework:spring-webflux (Maven) Vendor— Affected 6.1.0 to before 6.1.13 Fixed in 6.1.13 Patch available GHSA-cx7f-g6mp-7hqm
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.0.0 – 6.0.23 Fixed in — No fix listed GHSA-cx7f-g6mp-7hqm
- org.springframework:spring-webflux (Maven) Vendor— Affected 6.0.0 – 6.0.23 Fixed in — No fix listed GHSA-cx7f-g6mp-7hqm
- org.springframework:spring-webmvc (Maven) Vendor— Affected 5.3.0 – 5.3.39 Fixed in — No fix listed GHSA-cx7f-g6mp-7hqm
- org.springframework:spring-webflux (Maven) Vendor— Affected 5.3.0 – 5.3.39 Fixed in — No fix listed GHSA-cx7f-g6mp-7hqm
CPE names CISA-ADP · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:5.3.0:*:*:*:*:*:*:* | 5.3.0 | — | Spring by VMware Tanzu |
| cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.0.0:*:*:*:*:*:*:* | 6.0.0 | — | Spring by VMware Tanzu |
| cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.1.0:*:*:*:*:*:*:* | 6.1.0 | — | Spring by VMware Tanzu |
- cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:5.3.0:*:*:*:*:*:*:* Versions 5.3.0 — ·Spring by VMware Tanzu
- cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.0.0:*:*:*:*:*:*:* Versions 6.0.0 — ·Spring by VMware Tanzu
- cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.1.0:*:*:*:*:*:*:* Versions 6.1.0 — ·Spring by VMware Tanzu
Remediation
- Fix · CNA Spring (Spring) Fixed in 5.3.40, 6.0.24, 6.1.13
- Fix · GHSA-cx7f-g6mp-7hqm org.springframework:spring-webmvc (Maven) Fixed in 6.1.13 Advisory →
- Fix · GHSA-cx7f-g6mp-7hqm org.springframework:spring-webflux (Maven) Fixed in 6.1.13 Advisory →
Red Hat 2 advisories
- RHSA-2024:11023 Released 2024-12-12 · Red Hat rating ImportantHawtIO 4.1.0 for Red Hat build of Apache Camel 4 Release and security update.
- HawtIO 4.0.0 for Red Hat build of Apache Camel 4
- RHSA-2024:8064 Released 2024-10-14 · Red Hat rating CriticalRed Hat Build of Apache Camel 4.4.3 for Spring Boot security update.
- Red Hat build of Apache Camel 4.4.3 for Spring Boot
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| A-MQ Clients 2 | Affected | No fix planned: Will not fix |
| Red Hat AMQ Broker 7 | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Integration Camel K 1 | Affected | No fix planned: Will not fix |
| Red Hat Process Automation 7 | Affected | No fix planned: Will not fix |
| Red Hat build of Apache Camel for Spring Boot 3 | Affected | No fix planned: Will not fix |
| Red Hat build of OptaPlanner 8 | Affected | No fix planned: Will not fix |
| HawtIO 4.0.0 for Red Hat build of Apache Camel 4 | Fixed | RHSA-2024:11023 |
| Red Hat build of Apache Camel 4.4.3 for Spring Boot | Fixed | RHSA-2024:8064 |
Not affected: 8 products
- Red Hat Build of Keycloak
- Red Hat Data Grid 8
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Single Sign-On 7
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38816
- 2026-10-03 Alias added: GHSA-cx7f-g6mp-7hqm
- 2026-11-05 Affected versions changed · Red Hat
References
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-38816 · CVE Program
- CVE-2024-38816 · NVD
- FIRST EPSS
- GHSA-cx7f-g6mp-7hqm · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38816 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences