VDB
Sign up
MEDIUM5.5

GHSA-6v7w-535j-rq5m

Pivotal Spring Framework DoS Attack with XML Input

Quick fix

GHSA-6v7w-535j-rq5m — org.springframework:spring-web: upgrade to the fixed version with the command below.

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

Details

Pivotal Spring Framework before 3.2.14 and 4.x before 4.1.7 do not properly process inline DTD declarations when DTD is not entirely disabled, which allows remote attackers to cause a denial of service (memory consumption and out-of-memory errors) via a crafted XML file.

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.14
Fix# pom.xml: bump <version>3.2.14</version> for org.springframework:spring-web
Maven/org.springframework:spring-web
Introduced in: 4.0.0Fixed in: 4.1.7
Fix# pom.xml: bump <version>4.1.7</version> for org.springframework:spring-web
Maven/org.springframework:spring-web
Introduced in: 5.0.0.RC2Fixed in: 5.0.0.RC3
Fix# pom.xml: bump <version>5.0.0.RC3</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"]}'