VDB
Sign up
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-webmvc

Details

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.5
Fix# pom.xml: bump <version>4.0.5</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 3.0.0Fixed in: 3.2.8
Fix# pom.xml: bump <version>3.2.8</version> for org.springframework:spring-webmvc

References