CVE
CVE-2024-38816
CNA 原文 · 原文(英文)
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
受影响版本
- spring-webmvc≥ 6.1.0, < 6.1.13修复版本 6.1.13
- spring-webmvc≥ 6.0.0, ≤ 6.0.23受影响至 6.0.23(含),修复版本见厂商公告
- spring-webmvc≥ 5.3.0, ≤ 5.3.39受影响至 5.3.39(含),修复版本见厂商公告
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- github.com/advisories/GHSA-cx7f-g6mp-7hqm · Third Party Advisory
- osv.dev/vulnerability/GHSA-cx7f-g6mp-7hqm · Third Party Advisory
- github.com/spring-projects/spring-framework/commit/d86bf8b2056429edf54 · Vendor Advisory
- spring.io/security/cve-2024-38816 · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。