CVE-2014-0225
Improper Restriction of XML External Entity Reference in Spring Framework
Description
When processing user provided XML documents, the Spring Framework 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, and possibly earlier unsupported versions did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-webmvc | >= 3.0.0, < 3.2.8>= 4.0.0, < 4.0.5 | 3.2.8, 4.0.5 |
Blast radius
58% of the dependent artifacts (2,691) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 16,045 |
| 2 hops | 34,979 |
| 3 hops | 20,228 |
| 4 hops | 12,508 |
| 5 hops | 8,820 |
| 6 hops | 4,920 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-test12,234 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.springframework.data » spring-data-mongodb1,154 usages
- org.springframework.webflow » spring-webflow716 usages
- org.springframework.security.oauth » spring-security-oauth2554 usages
- org.openmrs.web » openmrs-web521 usages
- org.springframework.boot » spring-boot-starter-freemarker452 usages
- org.springframework.hateoas » spring-hateoas368 usages
- org.springframework.boot » spring-boot-starter-data-rest350 usages
- org.springframework » spring-webmvc-portlet299 usages
- org.geoserver » gs-main299 usages
- org.springframework.boot » spring-boot-starter-integration280 usages
- org.springframework.batch » spring-batch-core271 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-2014-0225
- Webhttps://github.com/spring-projects/spring-framework/commit/44ee51a6c9c3734b3fcf9a20817117e86047d753
- Webhttps://github.com/spring-projects/spring-framework/commit/8e096aeef55287dc829484996c9330cf755891a1
- Webhttps://github.com/spring-projects/spring-framework/commit/c6503ebbf7c9e21ff022c58706dbac5417b2b5eb
- Webhttps://jira.spring.io/browse/SPR-11768
- Webhttps://pivotal.io/security/cve-2014-0225
