Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-webmvc | < 3.2.18, >= 4.2.0, < 4.2.9, >= 4.3.0, < 4.3.5 | 3.2.18, 4.2.9, 4.3.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9878
- https://github.com/spring-projects/spring-framework/issues/19513
- https://github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98
- https://github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0
- https://github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad
- https://access.redhat.com/errata/RHSA-2017:3115
- https://github.com/advisories/GHSA-2m8h-fgr8-2q9w
- https://github.com/spring-projects/spring-framework
- https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html
- https://pivotal.io/security/cve-2016-9878
- https://security.netapp.com/advisory/ntap-20180419-0002
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.securityfocus.com/bid/95072
- http://www.securitytracker.com/id/1040698
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-webmvc- Disclosed
- 04.10.2018
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2m8h-fgr8-2q9w - CC BY 4.0
Vulnerability history: org.springframework:spring-webmvc
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 27
- First → latest
- 10.2018 08.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 4
- High 8
- Medium 13
- Low 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 13
-
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.