GitHub Advisory Database
GHSA-g5vr-rgqm-vf78
Spring Framework Path Traversal vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework:spring-webflux | From 6.1.0 before 6.1.14 (fixed in 6.1.14) |
| Maven | org.springframework:spring-webmvc | From 6.1.0 before 6.1.14 (fixed in 6.1.14) |
| Maven | org.springframework:spring-webflux | All versions up to and including 5.3.40 |
| Maven | org.springframework:spring-webmvc | All versions up to and including 5.3.40 |
| Maven | org.springframework:spring-webflux | From 6.0.0 up to and including 6.0.24 |
| Maven | org.springframework:spring-webmvc | From 6.0.0 up to and including 6.0.24 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38819
- https://github.com/spring-projects/spring-framework/issues/33689
- https://github.com/spring-projects/spring-framework/commit/3bfbe30a7814c9ea1556d40df9bd87ddb3ba372d
- https://github.com/spring-projects/spring-framework/commit/fb7890d73975a3d9e0763e0926df2bd0a608e87e
- https://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20250110-0010
- https://spring.io/security/cve-2024-38819