{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-9879 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 3.2.10.RELEASE, 4.1.4.RELEASE or 4.2.1.RELEASE.","what":"CVE-2016-9879 is a high-severity vulnerability in Ibm Websphere Application Server, published on 6 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-9879 and fix it if it is affected.\n\nWhat it is: CVE-2016-9879 is a high-severity vulnerability in Ibm Websphere Application Server, published on 6 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-9879 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected all versions; fixed in 3.2.10.RELEASE\n- org.springframework.security:spring-security-core (Maven): affected all versions; fixed in 3.2.10.RELEASE\n- org.springframework.security:spring-security-core (Maven): affected from 4.0.0.RELEASE; fixed in 4.1.4.RELEASE\n- org.springframework.security:spring-security-core (Maven): affected from 4.0.0.RELEASE; fixed in 4.1.4.RELEASE\n- org.springframework.security:spring-security-core (Maven): affected from 4.2.0.RELEASE; fixed in 4.2.1.RELEASE\n- org.springframework.security:spring-security-core (Maven): affected from 4.2.0.RELEASE; fixed in 4.2.1.RELEASE\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-9879/ (Markdown: https://insights.sbomify.com/CVE-2016-9879/index.md)","id":"CVE-2016-9879","markdown":"https://insights.sbomify.com/CVE-2016-9879/index.md","name":"CVE-2016-9879","record":{"aliases":["GHSA-v35c-49j6-q8hq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java security library","requires_auth":"none","summary":"Attackers can bypass security constraints in Spring Security by adding encoded path parameters to requests, potentially accessing protected resources.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"websphere_application_server","vendor":"ibm"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-417","name":null}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Security Constraint Bypass in Spring Security","id":"CVE-2016-9879","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"ibm:websphere_application_server","products":["ibm:websphere_application_server"],"type":"security_feature_bypass","year":"2016"},"n_packages":6,"n_references":3,"next":{"headline":"Missing authorization in GemFire broker for Cloud Foundry","id":"CVE-2016-9880"},"packages":[{"ecosystem":"Maven","fixed":["3.2.10.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-v35c-49j6-q8hq"},{"ecosystem":"Maven","fixed":["3.2.10.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-v35c-49j6-q8hq"},{"ecosystem":"Maven","fixed":["4.1.4.RELEASE"],"introduced":["4.0.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-v35c-49j6-q8hq"},{"ecosystem":"Maven","fixed":["4.1.4.RELEASE"],"introduced":["4.0.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-v35c-49j6-q8hq"},{"ecosystem":"Maven","fixed":["4.2.1.RELEASE"],"introduced":["4.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-v35c-49j6-q8hq"},{"ecosystem":"Maven","fixed":["4.2.1.RELEASE"],"introduced":["4.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-v35c-49j6-q8hq"}],"prev":{"headline":"Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized","id":"CVE-2016-9878"},"products":["Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1"],"published":"2017-01-06","related":[{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2015-1920","kev_date_added":null,"published":"2015-05-20"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2013-0462","kev_date_added":null,"published":"2013-01-27"},{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2011-1377","kev_date_added":null,"published":"2012-01-15"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2010-3186","kev_date_added":null,"published":"2010-08-30"},{"cvss_score":10,"headline":"Information disclosure in n/a","id":"CVE-2009-1899","kev_date_added":null,"published":"2009-06-03"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2009-1901","kev_date_added":null,"published":"2009-06-03"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2009-1172","kev_date_added":null,"published":"2009-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can bypass security constraints in Spring Security by adding encoded path parameters to requests, potentially accessing protected resources.","url":"https://insights.sbomify.com/CVE-2016-9879/"}