MODERATE 5.9

CVE-2018-1271

Path Traversal 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, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.

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.

References