CVE-2024-38816
A public proof of concept exists; no exploitation attested.
- Published2024-09-13
- Fixed in6.1.13 · 6.0.24 · 5.3.40
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
Timeline
dates in UTC- 2024-09-1306:15CVE publishedNVD
Versions per branch
CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.1 | ≥ 6.1.0, < 6.1.13 | 6.1.13 | CISA-ADP · OSV |
| 6.0 | ≥ 6.0.0, < 6.0.24 | 6.0.24 | CISA-ADP |
| 5.3 | ≥ 5.3.0, < 5.3.40 | 5.3.40 | CISA-ADP |
| 5.3 | ≥ 5.3.0, ≤ 5.3.39 | no fix published | OSV |
| 6.0 | ≥ 6.0.0, ≤ 6.0.23 | no fix published | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As vmware, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Springother versions: affected
package Spring Framework
Affected- ≥ 5.3.x, < 5.3.40fixed in 5.3.40enterprise Support Only
- ≥ 6.0.x, < 6.0.24fixed in 6.0.24enterprise Support Only
- ≥ 6.1.x, < 6.1.13fixed in 6.1.13OSS
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-09-13
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- activemqCleanStartall versions · fixed in 5.19.8-r3
- io.root.org.springframework:spring-webfluxRoot:Mavenall versions · fixed in 6.0.11-root.io.2
- io.root.org.springframework:spring-webfluxRoot:Mavenall versions · fixed in 6.0.11-root.io.6
- io.root.org.springframework:spring-webfluxRoot:Mavenall versions · fixed in 6.0.11-root.io.7
- io.root.org.springframework:spring-webmvcRoot:Mavenall versions · fixed in 6.1.1-root.io.1and 1 other package
- io.root.org.springframework:spring-webmvcRoot:Mavenall versions · fixed in 6.1.1-root.io.2and 1 other package
- io.root.org.springframework:spring-webmvcRoot:Mavenall versions · fixed in 6.1.1-root.io.3and 1 other package
- io.root.org.springframework:spring-webmvcRoot:Mavenall versions · fixed in 6.1.1-root.io.4and 1 other package
148 more package ranges on OSV.dev
Vendor advisories
spring-webmvc: Path Traversal Vulnerability in Spring Applications Using RouterFunctions and FileSystemResource
spring-webmvc as a component of A-MQ Clients 2 · spring-webmvc as a component of Red Hat AMQ Broker 7 · spring-webmvc as a component of Red Hat build of Apache Camel for Spring Boot 3 · +4 more
Red Hat Security Advisory: HawtIO 4.1.0 for Red Hat build of Apache Camel 4 Release and security update.
Red Hat Security Advisory: Red Hat Build of Apache Camel 4.4.3 for Spring Boot security update.
Fix
- Update Spring by vmware tanzu spring framework to 6.1.13 · 6.0.24 · 5.3.40
- Vendor fix Red Hat Product Security RHSA-2024:11023 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:11023 · 1 productMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-38816 · 7 productsWill not fix
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub5 repositories, unverifiedknown since 2026-11-01startsw1th/cve-2024-38816-demoWULINPIN/CVE-2024-38816-PoCAnthony1078/App-vulnerablewdragondragon/spring-frameworkjaloon/spring-webmvc5
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-09-13
- CNACVSS 3.17.5known since 2026-10-23
- CISA-ADPweakness (CWE)CWE-222024-09-13
- FIRST EPSSEPSS score21.3 %read 2026-11-18
- PoC-in-GitHubproof of concept5known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-09-13
Identifiers
- CGA-2866-9mw4-p6gvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fm9-q49p-gm5msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vf3-h8r7-44gqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-36p9-x74f-px4psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-37hw-gwm6-q8q3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-38v5-vg8q-x982same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3f42-f5w9-g46qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jw5-4wxc-f9x2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mmj-w6x5-jpx5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3px6-3v89-2prhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-48ff-vvgg-c87jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5pwc-38h5-h23jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5q8v-c2mw-4fv7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6674-6rxh-9rg5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-67jh-j2m9-44j3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-68g9-9f42-gpphsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-69qg-4fwj-f648same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6cjq-86cc-pchmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6f4w-qm7h-hjhgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6p69-h9cw-q7gcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rj5-74hc-wg6msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7ccv-42qp-4p3psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7fpv-jqww-cgxfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7g89-7f9q-x3p2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7jq9-6p65-qwp5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7vcx-rw92-vmx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-88gm-2xwf-vqx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-897f-j56m-69x8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8j87-58vm-5g7psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8v9w-4g7g-3fjpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-976q-849w-8v2wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9889-m83f-rffgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f5wp-7x3c-739rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6pm-vwrh-265psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f7r7-43jr-m996same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fcv8-4v98-vwhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ff93-v5ph-rr8rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fhh7-7vgq-q7pfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fpqm-h3r4-wr64same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g727-jpcx-jvggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g7hm-g7gm-62jhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gm2f-6jj3-7xxhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h8qf-hhfj-75r8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hcqq-3mcp-7cj7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j5cm-4v7h-9gwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jc54-4wpq-wjv9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jhq9-mrx4-5wm5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jhvg-r3fr-4ww4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jvwf-m73w-qpwpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m6pm-m2x3-pp67same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-09-13
- Last Modified
- 2026-06-17
- NVD status
- Deferred
- GitHub Advisory
- GHSA-cx7f-g6mp-7hqm
Frequently asked questions
What is CVE-2024-38816?
Is CVE-2024-38816 actively exploited?
What is the CVSS score for CVE-2024-38816?
Running spring-webmvc? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cx7f-g6mp-7hqm
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0