Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-38816
September 13, 2024
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 Packages
org.springframework:spring-webmvc (JAVA):
Affected version(s) >=5.3.0 <5.3.39-spring-framework-5.3.44
Fix Suggestion:
Update to version 5.3.39-spring-framework-5.3.44
org.springframework:spring-webmvc (JAVA):
Affected version(s) >=6.1.0 <6.1.13
Fix Suggestion:
Update to version 6.1.13
org.springframework:spring-webflux (JAVA):
Affected version(s) >=5.3.0 <5.3.39-spring-framework-5.3.44
Fix Suggestion:
Update to version 5.3.39-spring-framework-5.3.44
org.springframework:spring-webflux (JAVA):
Affected version(s) >=6.1.0 <6.1.13
Fix Suggestion:
Update to version 6.1.13
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
93.77