CVE-2024-38816
CVE-2024-38816: Path traversal vulnerability in functional web frameworks
Reported by vmware · Published September 13, 2024
spring-webmvc is fixed in 6.1.13, 6.0.23 and 5.3.39 (Maven Central)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-webmvc | Maven Central | 6.1.13, 6.0.23, 5.3.39 |
| org.springframework:spring-webflux | Maven Central | 6.1.13, 6.0.23, 5.3.39 |
| thingsboard | Chainguard | 3.8.1-r2 |
| kayenta-fips-2025.4 | Chainguard | 2025.4.3-r7 |
| kayenta-fips-2026.0 | Chainguard | 2026.0.2-r7 |
| camunda-zeebe | Chainguard | 8.6.5-r0 |
| kayenta-2026.0 | Chainguard | 2026.0.2-r6 |
| thingsboard | Wolfi | 3.8.1-r2 |
| kayenta-2025.4 | Chainguard | 2025.4.3-r7 |
| spring_framework | spring_by_vmware_tanzu | 6.1.13, 6.0.24, 5.3.40 |
| Spring Framework | Spring | 6.1.13, 6.0.24, 5.3.40 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring | 5.3.x, 6.0.x, 6.1.x |
| chainguard | thingsboard | 0 |
| chainguard | kayenta-fips-2025.4 | 0 |
| chainguard | kayenta-fips-2026.0 | 0 |
| chainguard | camunda-zeebe | 0 |
| chainguard | kayenta-2026.0 | 0 |
| Maven | org.springframework:spring-webmvc | 5.3.0, 6.0.0, 6.1.0 |
| spring_by_vmware_tanzu | spring_framework | 6.0.0, 6.1.0, 5.3.0 |
| Maven | org.springframework:spring-webflux | 6.0.0, 6.1.0, 5.3.0 |
| wolfi | thingsboard | 0 |
| chainguard | kayenta-2025.4 | 0 |
| Spring | Spring | 5.3.x, 6.0.x, 6.1.x |
Timeline
- Sep 12, 2024 CVE Published
- Sep 14, 2024 EPSS Score (30 in total, the first dated here)
- Sep 27, 2024 PoC Published
- Oct 4, 2024 Coalition ESS Score (27 in total, the first dated here)
- Oct 22, 2024 VulnCheck KEV Exploitation (2 in total, the first dated here)
- Oct 22, 2024 VulnCheck XDB Entry
- Jun 10, 2025 CrowdSec Sighting (79 in total, the first dated here)
- Jun 1, 2026 Security Advisory (8 in total, the first dated here)
- Nov 16, 2026 Distribution Patch (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-38816
vulnetix vdb fixes CVE-2024-38816
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38816/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38816 advisory
- https://github.com/advisories/GHSA-cx7f-g6mp-7hqm advisory
- https://github.com/spring-projects/spring-framework/commit/d86bf8b2056429edf5494456cffcb2b243331c49 patch
- https://github.com/spring-projects/spring-framework url
- https://security.netapp.com/advisory/ntap-20241227-0001 advisory
- https://security.netapp.com/advisory/ntap-20241227-0001/ url