VDB
Sign up
MEDIUM

GHSA-hhm4-hwq6-3c6w

Improper Limitation of a Pathname to a Restricted Directory in Spring Framework

Quick fix

GHSA-hhm4-hwq6-3c6w — org.springframework:spring-webmvc: upgrade to the fixed version with the command below.

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

Details

Directory traversal vulnerability in Pivotal Spring Framework 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 allows remote attackers to read arbitrary files via unspecified vectors, related to static resource handling.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-webmvc
Introduced in: 3.0.4Fixed in: 3.2.12
Fix# pom.xml: bump <version>3.2.12</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 4.0.0Fixed in: 4.0.8
Fix# pom.xml: bump <version>4.0.8</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 4.1.0Fixed in: 4.1.2
Fix# pom.xml: bump <version>4.1.2</version> for org.springframework:spring-webmvc

References