HIGH 7.5

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)

ArtifactAffected versionsFixed 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

2affected artifacts
621affected versions
37,715dependent artifacts (est.)
1,687,322dependent versions

74% of the dependent artifacts (28,051) still pull an affected version in their latest release.

DepthDependent 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

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.