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-webmvcDetails
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.18Fix
# pom.xml: bump <version>3.2.18</version> for org.springframework:spring-webmvcMaven/org.springframework:spring-webmvc
Introduced in:
4.2.0Fixed in: 4.2.9Fix
# pom.xml: bump <version>4.2.9</version> for org.springframework:spring-webmvcMaven/org.springframework:spring-webmvc
Introduced in:
4.3.0Fixed in: 4.3.5Fix
# pom.xml: bump <version>4.3.5</version> for org.springframework:spring-webmvcReferences
- https://nvd.nist.gov/vuln/detail/CVE-2016-9878[ADVISORY]
- https://github.com/spring-projects/spring-framework/issues/19513[WEB]
- https://github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98[WEB]
- https://github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0[WEB]
- https://github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad[WEB]
- https://access.redhat.com/errata/RHSA-2017:3115[WEB]
- https://github.com/advisories/GHSA-2m8h-fgr8-2q9w[ADVISORY]
- https://github.com/spring-projects/spring-framework[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html[WEB]
- https://pivotal.io/security/cve-2016-9878[WEB]
- https://security.netapp.com/advisory/ntap-20180419-0002[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html[WEB]
- http://www.securityfocus.com/bid/95072[WEB]
- http://www.securitytracker.com/id/1040698[WEB]