HIGH 7.8

CVE-2021-22118

Improper Privilege Management in Spring Framework

Description

In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-web
>= 5.2.0, < 5.2.15>= 5.3.0, < 5.3.7
5.2.15, 5.3.7

Blast radius

1affected artifacts
22affected versions
10,673dependent artifacts (est.)
145,817dependent versions

43% of the dependent artifacts (4,600) still pull an affected version in their latest release.

DepthDependent versions
Direct
31,212
2 hops
50,028
3 hops
43,505
4 hops
14,379
5 hops
5,289
6 hops
1,404

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.