HIGH8.8
GHSA-f93f-g33r-8pcp
Improper Restriction of XML External Entity Reference in Spring Framework
Quick fix
GHSA-f93f-g33r-8pcp — org.springframework:spring-webmvc: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.5</version> for org.springframework:spring-webmvcDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework:spring-webmvc
Introduced in:
4.0.0Fixed in: 4.0.5Fix
# pom.xml: bump <version>4.0.5</version> for org.springframework:spring-webmvcMaven/org.springframework:spring-webmvc
Introduced in:
3.0.0Fixed in: 3.2.8Fix
# pom.xml: bump <version>3.2.8</version> for org.springframework:spring-webmvcReferences
- https://nvd.nist.gov/vuln/detail/CVE-2014-0225[ADVISORY]
- https://github.com/spring-projects/spring-framework/commit/44ee51a6c9c3734b3fcf9a20817117e86047d753[WEB]
- https://github.com/spring-projects/spring-framework/commit/8e096aeef55287dc829484996c9330cf755891a1[WEB]
- https://github.com/spring-projects/spring-framework/commit/c6503ebbf7c9e21ff022c58706dbac5417b2b5eb[WEB]
- https://jira.spring.io/browse/SPR-11768[WEB]
- https://pivotal.io/security/cve-2014-0225[WEB]