CVE-2016-9878 json
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
published 2016-12-29 9 y ago modified 2026-06-17 4 mo ago also GHSA-2m8h-fgr8-2q9w , EUVD-2018-0477
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-webmvc 3.2.18, 4.2.9, 4.3.5
- libspring-java Debian 14, Debian 13, Debian 12 4.3.5-1
debian advisories DEBIAN-CVE-2016-9878
- libspring-java Ubuntu Pro 14.04 LTS 3.0.6.RELEASE-13ubuntu0.1~esm1
- libspring-java Ubuntu Pro 16.04 LTS 3.2.13-5ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2016-9878
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-9878 updated cvss 5.6
Framework: Directory Traversal in the Spring Framework ResourceServlet
-
Red Hat JBoss A-MQ 6 karaf karafaffected: no fix available
-
Red Hat JBoss Enterprise Application Platform 5 spring-webmvcaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse 6 karaf karaf Red Hat OpenShift Enterprise 2 cartridge-amq, cartridge-fuseaffected: no fix available
-
Red Hat Storage 3 springframeworkaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Virtualization 3 jasperreports-server-pro Red Hat OpenShift Enterprise 2 jenkinsunder investigation
-
Red Hat JBoss A-MQ 6.3 Red Hat JBoss Fuse 6.3fixed: vendor fix RHSA-2017:3115
-
Red Hat BPM Suite 6 springframework springframework Red Hat JBoss BRMS 6 springframework springframework Red Hat JBoss Data Virtualization 6 springframework springframework Red Hat Mobile Application Platform 4 millicore Red Hat OpenShift Enterprise 2 activemqnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.91% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| 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 |
Affected products
- n/a Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
github.com
/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98
web
-
github.com
/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0
web
-
github.com
/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad
web
-
access.redhat.com
/errata/RHSA-2017:3115
vendor-advisory, web
-
pivotal.io
/security/cve-2016-9878
web, vendor-advisory
-
securitytracker.com
/id/1040698
vdb-entry, web
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web
-
oracle.com
/technetwork/security-advisory/cpujan2018-3236628.html
web
- security.netapp.com /advisory/ntap-20180419-0002/
-
oracle.com
/technetwork/security-advisory/cpuapr2018-3678067.html
web
-
securityfocus.com
/bid/95072
vdb-entry, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00012.html
mailing-list, web
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2016-9878
advisory
-
github.com
/spring-projects/spring-framework/issues/19513
web
-
github.com
/advisories/GHSA-2m8h-fgr8-2q9w
advisory
-
github.com
/spring-projects/spring-framework
package
-
security.netapp.com
/advisory/ntap-20180419-0002
web
Sources
- CVE List CVE-2016-9878
- GitHub Advisory GHSA-2m8h-fgr8-2q9w
- NVD CVE-2016-9878
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.