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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-core | < 4.3.15>= 5.0.0, < 5.0.5 | 4.3.15, 5.0.5 |
Blast radius
61% of the dependent artifacts (29,393) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-context18,670 usages
- org.springframework.boot » spring-boot-configuration-processor15,807 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-web12,086 usages
- org.springframework » spring-beans8,721 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework » spring-jdbc5,611 usages
- org.springframework.boot » spring-boot5,107 usages
- org.springframework » spring-tx5,095 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-2018-1272
- Webhttps://github.com/spring-projects/spring-framework/commit/ab2410c754b67902f002bfcc0c3895bd7772d39
- Webhttps://github.com/spring-projects/spring-framework/commit/e02ff3a0da50744b0980d5d665fd242eedea767
- Webhttps://access.redhat.com/errata/RHSA-2018:1320
- Webhttps://access.redhat.com/errata/RHSA-2018:2669
- Advisoryhttps://github.com/advisories/GHSA-4487-x383-qpph
- Webhttps://pivotal.io/security/cve-2018-1272
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Webhttp://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- Webhttp://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- Webhttp://www.securityfocus.com/bid/103697
