Skip to content
Fencer Intel
high 7.5

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 karaf
    affected: no fix available
  • Red Hat JBoss Enterprise Application Platform 5 spring-webmvc
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse 6 karaf karaf Red Hat OpenShift Enterprise 2 cartridge-amq, cartridge-fuse
    affected: no fix available
  • Red Hat Storage 3 springframework
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Virtualization 3 jasperreports-server-pro Red Hat OpenShift Enterprise 2 jenkins
    under investigation
  • Red Hat JBoss A-MQ 6.3 Red Hat JBoss Fuse 6.3
    fixed: 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 activemq
    not 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

Sources

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.