2084AI Security Observatory

CVE

CVE-2024-38816

CVE-2024-38816HIGH 7.5EPSS 98%

CNA 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 [link removed]  is in use * the application runs on Tomcat or Jetty

Affected versions

All Spring Framework vulnerabilities →

  • spring-webmvc≥ 6.1.0, < 6.1.13Fixed in 6.1.13
  • spring-webmvc≥ 6.0.0, ≤ 6.0.23Affected up to 6.0.23 — see vendor advisory
  • spring-webmvc≥ 5.3.0, ≤ 5.3.39Affected up to 5.3.39 — see vendor advisory

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.