cve.bz

CVE-2016-9878 Path traversal

7.5 highEPSS 4.9%Fix available

High (7.5). EPSS 4.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-webmvc 3.2.18, 4.2.9, 4.3.5.

On this page
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

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
4.9% (unchanged from 4.9% a week ago; 5.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9878 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9878?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9878?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9878 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pivotal_software:spring_frameworkthrough 3.2.0
pivotal_software:spring_framework4.2.0
pivotal_software:spring_framework4.3.0
vmware:spring_framework3.2.1
vmware:spring_framework3.2.2
vmware:spring_framework3.2.3
vmware:spring_framework3.2.4
vmware:spring_framework3.2.5
vmware:spring_framework3.2.6
vmware:spring_framework3.2.7
vmware:spring_framework3.2.8
vmware:spring_framework3.2.9
vmware:spring_framework3.2.10
vmware:spring_framework3.2.11
vmware:spring_framework3.2.12
vmware:spring_framework3.2.13
vmware:spring_framework3.2.14
vmware:spring_framework3.2.15
vmware:spring_framework3.2.16
vmware:spring_framework3.2.17
vmware:spring_framework4.2.1
vmware:spring_framework4.2.2
vmware:spring_framework4.2.3
vmware:spring_framework4.2.4
vmware:spring_framework4.2.5
vmware:spring_framework4.2.6
vmware:spring_framework4.2.7
vmware:spring_framework4.2.8
vmware:spring_framework4.3.1
vmware:spring_framework4.3.2
vmware:spring_framework4.3.3
vmware:spring_framework4.3.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m8h-fgr8-2q9wMavenorg.springframework:spring-webmvc<3.2.183.2.18
GHSA-2m8h-fgr8-2q9wMavenorg.springframework:spring-webmvc>=4.2.0 <4.2.94.2.9
GHSA-2m8h-fgr8-2q9wMavenorg.springframework:spring-webmvc>=4.3.0 <4.3.54.3.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libspring-java3.0.6.RELEASE-17+deb8u1DLA-1853-1
Debian12, 13, 14libspring-java4.3.5-1DEBIAN-CVE-2016-9878
UbuntuPro:14.04:LTSlibspring-java3.0.6.RELEASE-13ubuntu0.1~esm1UBUNTU-CVE-2016-9878 USN-4774-1
UbuntuPro:16.04:LTSlibspring-java3.2.13-5ubuntu0.1~esm1UBUNTU-CVE-2016-9878 USN-4774-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat JBoss A-MQ 6.3Fixed 2017-11-02RHSA-2017:3115
Red Hat JBoss Fuse 6.3Fixed 2017-11-02RHSA-2017:3115
Red Hat BPM Suite 6springframeworkNot affected
Red Hat Enterprise Virtualization 3jasperreports-server-proUnder investigation
Red Hat JBoss A-MQ 6karafAffected
Red Hat JBoss BRMS 6springframeworkNot affected
Red Hat JBoss Data Virtualization 6springframeworkNot affected
Red Hat JBoss Enterprise Application Platform 5spring-webmvcWill not fix
Red Hat JBoss Fuse 6karafAffected
Red Hat Mobile Application Platform 4millicoreNot affected
Red Hat OpenShift Enterprise 2activemqNot affected
Red Hat OpenShift Enterprise 2cartridge-amqAffected
Red Hat OpenShift Enterprise 2cartridge-fuseAffected
Red Hat OpenShift Enterprise 2jenkinsUnder investigation
Red Hat Storage 3springframeworkWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-9878.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON