cve.bz

CVE-2016-9879 Communication Channel Errors

7.5 highEPSS 1.5%Fix available

High (7.5). EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 3.2.10.RELEASE, 4.1.4.RELEASE, 4.2.1.RELEASE.

On this page
An issue was discovered in Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1. Spring Security does not consider URL path parameters when processing security constraints. By adding a URL path parameter with an encoded "/" to a request, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. The unexpected presence of path parameters can cause a constraint to be bypassed. Users of Apache Tomcat (all current versions) are not affected by this vulnerability since Tomcat follows the guidance previously provided by the Servlet Expert group and strips path parameters from the value returned by getContextPath(), getServletPath(), and getPathInfo(). Users of other Servlet containers based on Apache Tomcat may or may not be affected depending on whether or not the handling of path parameters has been modified. Users of IBM WebSphere Application Server 8.5.x are known to be affected. Users of other containers that implement the Servlet specification may be affected.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-417 Communication Channel Errors
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-9879 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9879?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9879?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-9879 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
vmware:spring_security3.2.0
vmware:spring_security3.2.1
vmware:spring_security3.2.2
vmware:spring_security3.2.3
vmware:spring_security3.2.4
vmware:spring_security3.2.5
vmware:spring_security3.2.6
vmware:spring_security3.2.7
vmware:spring_security3.2.8
vmware:spring_security3.2.9
vmware:spring_security4.1.0
vmware:spring_security4.1.1
vmware:spring_security4.1.2
vmware:spring_security4.1.3
vmware:spring_security4.2.0
ibm:websphere_application_server8.5.0.0
ibm:websphere_application_server8.5.0.1
ibm:websphere_application_server8.5.0.2
ibm:websphere_application_server8.5.5.0
ibm:websphere_application_server8.5.5.1
ibm:websphere_application_server8.5.5.2
ibm:websphere_application_server8.5.5.3
ibm:websphere_application_server8.5.5.4
ibm:websphere_application_server8.5.5.5
ibm:websphere_application_server8.5.5.6
ibm:websphere_application_server8.5.5.7
ibm:websphere_application_server8.5.5.8
ibm:websphere_application_server8.5.5.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v35c-49j6-q8hqMavenorg.springframework.security:spring-security-core<3.2.10.RELEASE3.2.10.RELEASE
GHSA-v35c-49j6-q8hqMavenorg.springframework.security:spring-security-core>=4.0.0.RELEASE <4.1.4.RELEASE4.1.4.RELEASE
GHSA-v35c-49j6-q8hqMavenorg.springframework.security:spring-security-core>=4.2.0.RELEASE <4.2.1.RELEASE4.2.1.RELEASE

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Use a Servlet container known not to include path parameters in the return values for getServletPath() and getPathInfo()

ProductPackageStateAdvisory
Red Hat JBoss A-MQ 6.3Fixed 2017-08-10RHSA-2017:1832
Red Hat JBoss Fuse 6.3Fixed 2017-08-10RHSA-2017:1832
Red Hat Enterprise Virtualization 3jasperreports-server-proUnder investigation
Red Hat JBoss Fuse 6camelOut of support scope
Red Hat OpenShift Enterprise 2spring-security-coreUnder investigation

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-9879.

References

Check your stackJSON