{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38816","id":"CVE-2024-38816","title":"CVE-2024-38816: Path traversal vulnerability in functional web frameworks","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.\n\nSpecifically, an application is vulnerable when both of the following are true:\n\n  *  the","descriptionLong":"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.\n\nSpecifically, an application is vulnerable when both of the following are true:\n\n  *  the web application uses RouterFunctions to serve static resources\n  *  resource handling is explicitly configured with a FileSystemResource location\n\n\nHowever, malicious requests are blocked and rejected when any of the following is true:\n\n  *  the  Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use\n  *  the application runs on Tomcat or Jetty","published":"2024-09-13T06:10:06.598Z","updated":"2026-06-17T07:41:06.077Z","reserved":"2024-06-19T22:32:06.582Z","status":"Deferred","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"vmware"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"vmware.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Spring"],"affectedProducts":[{"vendor":"Spring","product":"Spring","defaultStatus":"affected","versions":[{"lessThan":"5.3.40","status":"affected","version":"5.3.x","versionType":"enterprise Support Only"},{"lessThan":"6.0.24","status":"affected","version":"6.0.x","versionType":"enterprise Support Only"},{"lessThan":"6.1.13","status":"affected","version":"6.1.x","versionType":"OSS"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.1.0 <6.1.13",">=6.0.0 <=6.0.23",">=5.3.0 <=5.3.39"],"fixed":["6.1.13"],"advisory":"GHSA-cx7f-g6mp-7hqm"},{"ecosystem":"Maven","name":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","ranges":[">=6.1.0 <6.1.13",">=6.0.0 <=6.0.23",">=5.3.0 <=5.3.39"],"fixed":["6.1.13"],"advisory":"GHSA-cx7f-g6mp-7hqm"}],"cwes":["CWE-22"],"aliases":["GHSA-cx7f-g6mp-7hqm"],"references":[{"url":"https://spring.io/security/cve-2024-38816","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20241227-0001/","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38816","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-framework/commit/d86bf8b2056429edf5494456cffcb2b243331c49","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20241227-0001","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.21263,"epssPercentile":0.97647,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38816","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38816","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38816","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cx7f-g6mp-7hqm","ok":true,"note":"GHSA-cx7f-g6mp-7hqm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38816","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 21% with CVSS 7.5"],"attention":null}