CVE-2016-9878
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
Reported by dell · Published December 29, 2016
spring-webmvc is fixed in 4.3.4.RELEASE, 4.2.8.RELEASE and 3.2.17.RELEASE (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-webmvc | Maven Central | 4.3.4.RELEASE, 4.2.8.RELEASE, 3.2.17.RELEASE |
| org.springframework:spring-core | Maven Central | 4.3.5, 4.2.9, 3.2.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5 | Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5 |
| Maven | org.springframework:spring-core | 0, 4.3.0, 4.2.0 |
| Maven | org.springframework:spring | 0 |
| n/a | Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5 | Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5 |
| Maven | org.springframework:spring-webmvc | 0, 4.3, 4.2 |
Timeline
- Dec 29, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- May 6, 2026 CVE Updated
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9878
vulnetix vdb fixes CVE-2016-9878
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9878/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 1040698 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 95072 vdb-entryx_refsource_BID
- RHSA-2017:3115 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20190713 [SECURITY] [DLA 1853-1] libspring-java security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2016-9878 advisory
- https://github.com/advisories/GHSA-2m8h-fgr8-2q9w advisory