High severity7.5GHSA Advisory· Published Sep 13, 2024· Updated Apr 15, 2026
CVE-2024-38816
CVE-2024-38816
Description
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework:spring-webmvcMaven | >= 6.1.0, < 6.1.13 | 6.1.13 |
org.springframework:spring-webfluxMaven | >= 6.1.0, < 6.1.13 | 6.1.13 |
org.springframework:spring-webmvcMaven | >= 6.0.0, <= 6.0.23 | — |
org.springframework:spring-webfluxMaven | >= 6.0.0, <= 6.0.23 | — |
org.springframework:spring-webmvcMaven | >= 5.3.0, <= 5.3.39 | — |
org.springframework:spring-webfluxMaven | >= 5.3.0, <= 5.3.39 | — |
Affected products
15- Range: >= 5.3.0, <= 5.3.39
- osv-coords14 versionspkg:apk/chainguard/camunda-zeebepkg:apk/chainguard/camunda-zeebe-compatpkg:apk/chainguard/thingsboardpkg:apk/chainguard/thingsboard-tb-js-executorpkg:apk/chainguard/thingsboard-tb-mqtt-transportpkg:apk/chainguard/thingsboard-tb-nodepkg:apk/chainguard/thingsboard-tb-web-uipkg:apk/wolfi/thingsboardpkg:apk/wolfi/thingsboard-tb-js-executorpkg:apk/wolfi/thingsboard-tb-mqtt-transportpkg:apk/wolfi/thingsboard-tb-nodepkg:apk/wolfi/thingsboard-tb-web-uipkg:maven/org.springframework/spring-webfluxpkg:maven/org.springframework/spring-webmvc
< 8.6.5-r0+ 13 more
- (no CPE)range: < 8.6.5-r0
- (no CPE)range: < 8.6.5-r0
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: < 3.8.1-r2
- (no CPE)range: >= 6.1.0, < 6.1.13
- (no CPE)range: >= 6.1.0, < 6.1.13
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-cx7f-g6mp-7hqmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-38816ghsaADVISORY
- github.com/spring-projects/spring-framework/commit/d86bf8b2056429edf5494456cffcb2b243331c49ghsaWEB
- security.netapp.com/advisory/ntap-20241227-0001ghsaWEB
- spring.io/security/cve-2024-38816nvdWEB
- security.netapp.com/advisory/ntap-20241227-0001/nvd
News mentions
0No linked articles in our index yet.