CVE-2024-38816

unknown
Published 2024-09-13 · Modified 2026-02-04
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-38816

OS impact

OSVersionStatusFixed in
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyaffected
debian debiansidaffected
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.springframework:spring-webmvc>=6.1.0,<6.1.136.1.13
java Mavenorg.springframework:spring-webflux>=6.1.0,<6.1.136.1.13
java Mavenorg.springframework:spring-webmvc>=6.0.0,<=6.0.23
java Mavenorg.springframework:spring-webflux>=6.0.0,<=6.0.23
java Mavenorg.springframework:spring-webmvc>=5.3.0,<=5.3.39
java Mavenorg.springframework:spring-webflux>=5.3.0,<=5.3.39

References

Verify integrity in audit chain (admin only). AS-IS.