VDB
Sign up
MEDIUM

GHSA-8cmm-qj8g-fcp6

Cross-Site Request Forgery in Spring Framework

Quick fix

GHSA-8cmm-qj8g-fcp6 — org.springframework:spring-webmvc: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.8</version> for org.springframework:spring-webmvc

Details

The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-webmvc
Introduced in: 0Fixed in: 3.2.8
Fix# pom.xml: bump <version>3.2.8</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 4.0.0Fixed in: 4.0.2
Fix# pom.xml: bump <version>4.0.2</version> for org.springframework:spring-webmvc

References