HIGH 7.5

CVE-2018-1272

Possible privilege escalation in org.springframework:spring-core

Description

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, provide client-side support for multipart requests. When Spring MVC or Spring WebFlux server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-core
< 4.3.15>= 5.0.0, < 5.0.5
4.3.15, 5.0.5

Blast radius

1affected artifacts
246affected versions
47,969dependent artifacts (est.)
1,846,533dependent versions

61% of the dependent artifacts (29,393) still pull an affected version in their latest release.

DepthDependent versions
Direct
119,665
2 hops
612,333
3 hops
687,632
4 hops
289,215
5 hops
99,101
6 hops
38,587

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.