Spring Framework Path Traversal vulnerability
Spring Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-webflux Maven |
|
|
| org.springframework:spring-webmvc Maven |
|
Spring Framework
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-webflux Maven |
|
|
| org.springframework:spring-webmvc Maven |
|
≥ 6.0.0 · ≤ 6.0.24
|
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.
From the CVE record · vmware
Spring Framework applications serving static resources through WebMvc.fn or WebFlux.fn are vulnerable to path traversal. An attacker can send a malicious HTTP request to read files accessible to the Spring application process. The input does not specify whether authentication is required.
Check applications using Maven packages org.springframework:spring-webmvc or org.springframework:spring-webflux at versions >=6.1.0 <6.1.14, <=5.3.40, or >=6.0.0 <=6.0.24.