CVE-2013-7315
Missing XML Validation in Spring Framework
Description
The Spring MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolution for the StAX XMLInputFactory, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML with JAXB, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152. NOTE: this issue was SPLIT from CVE-2013-4152 due to different affected versions.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-oxm | < 3.2.4.RELEASE | 3.2.4.RELEASE |
Blast radius
44% of the dependent artifacts (558) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,640 |
| 2 hops | 7,547 |
| 3 hops | 5,560 |
| 4 hops | 1,971 |
| 5 hops | 2,356 |
| 6 hops | 860 |
Most used dependents
- org.springframework » spring-web12,086 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.springframework.data » spring-data-redis1,414 usages
- org.openmrs.web » openmrs-web521 usages
- org.springframework.amqp » spring-rabbit405 usages
- org.springframework.security » spring-security-taglibs333 usages
- org.springframework » spring-webmvc-portlet299 usages
- org.springframework.ws » spring-ws-core231 usages
- org.opennms » opennms-dao170 usages
- org.grails » grails-core165 usages
- org.springframework.amqp » spring-amqp161 usages
- be.vlaanderen.dov » dov-neo-setup158 usages
- org.opennms.dependencies » spring-dependencies136 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-2013-7315
- Webhttps://github.com/spring-projects/spring-framework/issues/15432
- Webhttps://github.com/spring-projects/spring-framework/commit/434735fbf6e7f9051af2ef027657edb99120b173
- Webhttps://github.com/spring-projects/spring-framework/commit/7576274874deeccb6da6b09a8d5bd62e8b5538b7
- Webhttps://jira.spring.io/browse/SPR-10806?redirect=false
- Webhttp://seclists.org/bugtraq/2013/Aug/154
- Webhttp://seclists.org/fulldisclosure/2013/Nov/14
- Webhttp://www.debian.org/security/2014/dsa-2842
- Webhttp://www.securityfocus.com/bid/77998
