CVE-2018-11040
Moderate severity vulnerability that affects org.springframework:spring-core
Description
Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. Both are not enabled by default in Spring Framework nor Spring Boot, however, when MappingJackson2JsonView is configured in an application, JSONP support is automatically ready to use through the "jsonp" and "callback" JSONP parameters, enabling cross-domain requests.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-core | >= 4.3.0.RELEASE, < 4.3.18.RELEASE>= 5.0.0.RELEASE, < 5.0.7.RELEASE | 4.3.18.RELEASE, 5.0.7.RELEASE |
Blast radius
43% of the dependent artifacts (8,341) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 29,405 |
| 2 hops | 141,065 |
| 3 hops | 131,936 |
| 4 hops | 96,238 |
| 5 hops | 44,523 |
| 6 hops | 16,290 |
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-11040
- Webhttps://github.com/spring-projects/spring-framework/commit/874859493bbda59739c38c7e52eb3625f247b93a
- Webhttps://github.com/spring-projects/spring-framework/commit/b80c13b722bb207ddf43f53a007ee3ddc1dd2e26
- Advisoryhttps://github.com/advisories/GHSA-f26x-pr96-vw86
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://lists.debian.org/debian-lts-announce/2021/04/msg00022.html
- Webhttps://pivotal.io/security/cve-2018-11040
- Webhttps://www.oracle.com/security-alerts/cpujan2020.html
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.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/cpuoct2018-4428296.html
