Unauthenticated file read via late path normalization
Published Dec 19, 2024 · Updated Jan 10, 2025
Path traversal in affected Spring Framework releases allows remote attackers to read process-accessible files through crafted HTTP requests. WebMvc.fn and WebFlux.fn static-resource handlers normalize percent-encoded traversal segments too late, allowing path resolution outside a configured FileSystemResource root. Exposure requires RouterFunctions static-resource routing backed by FileSystemResource; the Spring Security HTTP Firewall blocks the requests.
Summary
What happened
Path traversal in affected Spring Framework releases allows remote attackers to read process-accessible files through crafted HTTP requests. WebMvc.fn and WebFlux.fn static-resource handlers normalize percent-encoded traversal segments too late, allowing path resolution outside a configured FileSystemResource root. Exposure requires RouterFunctions static-resource routing backed by FileSystemResource; the Spring Security HTTP Firewall blocks the requests.
The record
- CVE
- CVE-2024-38819
- Published
- Dec 19, 2024
- Updated
- Jan 10, 2025
- Vendor
- Spring
- Product
- Spring Framework
- Classifications
- CWE-22, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 19, 2024CVE publishedPublication date reported by the CVE source.
- Jan 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Spring Framework 5.3.0 - 5.3.40, 6.0.0 - 6.0.24, 6.1.0 - 6.1.13
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2024-38819 Proof of Conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo