{"id":"CVE-2016-9879","published":"2017-01-06T22:00:00Z","modified":"2024-08-06T03:07:30Z","title":"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","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01455,"percentile":0.74115,"provenance":"source"},"cwes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:1832","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/95142","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://pivotal.io/security/cve-2016-9879","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.82}]},"affectedVersions":[{"vendor":"n/a","product":"Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1","versions":["Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1"]}],"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":["<3.2.10.RELEASE",">=4.0.0.RELEASE, <4.1.4.RELEASE",">=4.2.0.RELEASE, <4.2.1.RELEASE"],"patched":["3.2.10.RELEASE","4.1.4.RELEASE","4.2.1.RELEASE"],"from":["GHSA-v35c-49j6-q8hq"],"provenance":"source"}],"summary":{"text":"Pivotal Spring Security (versions before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1) fails to account for URL path parameters when applying security constraints, because it relies on getPathInfo(), which some Servlet containers return with path parameters included. An attacker who can send HTTP requests to an affected application, running on a Servlet container that includes path parameters in getPathInfo() (such as IBM WebSphere Application Server 8.5.x), can add a path parameter containing an encoded \"/\" to bypass a security constraint; Apache Tomcat is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:58Z"},"euvd":{"id":"EUVD-2020-1289","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-0097","published":"2017-05-25","fixed":"3.2.2.RELEASE","kev":false},{"cve":"CVE-2014-3527","published":"2017-05-25","fixed":"3.2.5","kev":false},{"cve":"CVE-2016-5007","published":"2017-05-25","fixed":"4.1.1","kev":false},{"cve":"CVE-2016-9879","published":"2017-01-06","fixed":"4.2.1.RELEASE","kev":false},{"cve":"CVE-2019-11272","published":"2019-06-26","fixed":"4.2.13","kev":false},{"cve":"CVE-2017-4995","published":"2017-11-27","fixed":"5.0.0.M2","kev":false,"link":{"from":"CVE-2016-9879","to":"CVE-2017-4995","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"4.2.1.RELEASE","toFixed":"4.2.3.RELEASE","daysApart":325}]}},{"cve":"CVE-2018-1199","published":"2018-03-16","fixed":"5.0.1","kev":false,"link":{"from":"CVE-2016-9879","to":"CVE-2018-1199","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"4.1.4.RELEASE","toFixed":"4.1.5","daysApart":434},{"kind":"similar","provenance":"machine","score":0.68,"basis":"same package + description similarity"}]}}],"package":"Maven:org.springframework.security:spring-security-core"}}