CVE-2024-38819
Spring Framework Path Traversal vulnerability
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-webflux | <= 5.3.40>= 6.0.0, <= 6.0.24>= 6.1.0, < 6.1.14 | 6.1.14 |
| org.springframework » spring-webmvc | <= 5.3.40>= 6.0.0, <= 6.0.24>= 6.1.0, < 6.1.14 | 6.1.14 |
Blast radius
74% of the dependent artifacts (28,051) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 187,799 |
| 2 hops | 460,472 |
| 3 hops | 531,116 |
| 4 hops | 320,409 |
| 5 hops | 131,577 |
| 6 hops | 55,949 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-orm3,194 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- io.springfox » springfox-swagger21,926 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- io.springfox » springfox-swagger-ui1,418 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- net.sf.ehcache » ehcache1,234 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.wso2.carbon » org.wso2.carbon.utils1,179 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.springframework.data » spring-data-mongodb1,154 usages
- org.springframework » spring1,074 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-38819
- Webhttps://github.com/spring-projects/spring-framework/issues/33689
- Webhttps://github.com/spring-projects/spring-framework/commit/3bfbe30a7814c9ea1556d40df9bd87ddb3ba372d
- Webhttps://github.com/spring-projects/spring-framework/commit/fb7890d73975a3d9e0763e0926df2bd0a608e87e
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://security.netapp.com/advisory/ntap-20250110-0010
- Webhttps://spring.io/security/cve-2024-38819
