CVE-2024-38816
published high CVSS 3.1 · 7.5CVE-2024-38816: Path traversal vulnerability in functional web frameworks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring FrameworkSpring · 5.3.x to < 5.3.40 · 6.0.x to < 6.0.24 · 6.1.x to < 6.1.13 · Other versions: affected | Affected | Not stated | vmware |
| spring_by_vmware_tanzu | — | spring_framework5.3.0 to < 5.3.40 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| spring_by_vmware_tanzu | — | spring_framework6.0.0 to < 6.0.24 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| spring_by_vmware_tanzu | — | spring_framework6.1.0 to < 6.1.13 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring | 5.3.x to < 5.3.40 (affected · enterprise Support Only)6.0.x to < 6.0.24 (affected · enterprise Support Only)6.1.x to < 6.1.13 (affected · OSS)Default: affected | vmware · cna |
| spring_by_vmware_tanzu | spring_framework | 5.3.0 to < 5.3.40 (affected · custom)Default: unknown | CISA-ADP · adp |
| spring_by_vmware_tanzu | spring_framework | 6.0.0 to < 6.0.24 (affected · custom)Default: unknown | CISA-ADP · adp |
| spring_by_vmware_tanzu | spring_framework | 6.1.0 to < 6.1.13 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
3vmware · cna
CVE-2024-38816: Path traversal vulnerability in functional web frameworks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 59ac3622285b545c48951ef1d8b252f615835b5aa2f8c2e4d2a5eaa7a0aa35c8
- Ingested
- 23 Sep 2026, 08:25:04 UTC
- Source record
- Official CVE record