CVE-2024-38816

CVE-2024-38816: Path traversal vulnerability in functional web frameworks

HIGH
7.5
CVSS Score
Published: September 13, 2024 at 06:10 AM UTC
Updated: June 17, 2026 at 07:41 AM UTC
2 products affected across 2 vendorsSpring FrameworkSpring Authorization Server

Using Spring by Spring?

Get instant alerts when new vulnerabilities affect Spring - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 21%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.3.0 ≤ v < 5.3.406.0.0 ≤ v < 6.0.246.1.0 ≤ v < 6.1.135.3.06.0.06.1.0
Affected range stops below 5.3.40, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.13, so it looks safe — our inference, not a vendor statement
5.3.x ≤ v < 5.3.406.0.x ≤ v < 6.0.246.1.x ≤ v < 6.1.135.3.x6.0.x6.1.x
Affected range stops below 5.3.40, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.13, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHvmware
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card