VDB
Sign up
HIGH7.5

GHSA-2m8h-fgr8-2q9w

Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized

Quick fix

GHSA-2m8h-fgr8-2q9w — org.springframework:spring-webmvc: upgrade to the fixed version with the command below.

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

Details

An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.

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.18
Fix# pom.xml: bump <version>3.2.18</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 4.2.0Fixed in: 4.2.9
Fix# pom.xml: bump <version>4.2.9</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 4.3.0Fixed in: 4.3.5
Fix# pom.xml: bump <version>4.3.5</version> for org.springframework:spring-webmvc

References