VDB
Sign up
MEDIUM

GHSA-g6hf-f9cq-q7w7

Cross-Site Request Forgery in Spring Framework

Quick fix

GHSA-g6hf-f9cq-q7w7 — org.springframework:spring-web: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.5.RELEASE</version> for org.springframework:spring-web

Details

The SourceHttpMessageConverter in Spring MVC in Spring Framework before 3.2.5 and 4.0.0.M1 through 4.0.0.RC1 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, and a different vulnerability than CVE-2013-4152 and CVE-2013-7315.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-web
Introduced in: 0Fixed in: 3.2.5.RELEASE
Fix# pom.xml: bump <version>3.2.5.RELEASE</version> for org.springframework:spring-web

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.springframework/spring-web"]}'