CVE-2016-9878
Description
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
4.907%
chance of exploitation in the next 30 days
higher than 92.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2016-12-29Published by the CNA09:02 UTC
- 2018-10-04GitHub advisory published (GHSA-2m8h-fgr8-2q9w)644 days after publication
Exploit and advisory records
GitHub advisory GHSA-2m8h-fgr8-2q9w, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.springframework:spring-webmvc | before 3.2.18 | 3.2.18 |
| Maven org.springframework:spring-webmvc | from 4.2.0 before 4.2.9 | 4.2.9 |
| Maven org.springframework:spring-webmvc | from 4.3.0 before 4.3.5 | 4.3.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pivotal_software spring_framework | through 3.2.0no fix listed4.2.0no fix listed4.3.0no fix listed | not listednot listednot listed |
| vmware spring_framework | 3.2.1no fix listed3.2.10no fix listed3.2.11no fix listed3.2.12no fix listed3.2.13no fix listed(+24 more) | not listednot listednot listednot listednot listed |
References
- https://access.redhat.com/errata/RHSA-2017:3115
- https://pivotal.io/security/cve-2016-9878
- 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
- https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html
- https://security.netapp.com/advisory/ntap-20180419-0002/
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-9878'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-9878'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-9878'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-9878'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).