CVE-2016-5007
Description
Both Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework:spring-coreMaven | < 4.3.1 | 4.3.1 |
org.springframework.security:spring-security-coreMaven | < 4.1.1 | 4.1.1 |
Affected products
70cpe:2.3:a:pivotal_software:spring_framework:3.2.0:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:pivotal_software:spring_framework:3.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:pivotal_software:spring_framework:4.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:pivotal_software:spring_framework:4.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:pivotal_software:spring_framework:4.2.0:*:*:*:*:*:*:*
- (no CPE)range: 3.2.x
cpe:2.3:a:vmware:spring_framework:3.2.1:*:*:*:*:*:*:*+ 44 more
- cpe:2.3:a:vmware:spring_framework:3.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.10:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.11:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.12:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.13:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.14:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.15:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.16:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.17:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.18:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.6:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.7:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.8:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:3.2.9:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.8:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.0.9:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.5:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.6:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.7:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.8:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.1.9:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.6:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.7:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.8:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_framework:4.2.9:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*+ 16 more
- cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.10:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.6:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.7:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.8:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:3.2.9:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:vmware:spring_security:4.1.0:*:*:*:*:*:*:*
- ghsa-coords2 versionspkg:maven/org.springframework.security/spring-security-corepkg:maven/org.springframework/spring-core
< 4.1.1+ 1 more
- (no CPE)range: < 4.1.1
- (no CPE)range: < 4.3.1
- Pivotal/Spring Securityv5Range: 3.2.x
Patches
Vulnerability mechanics
References
9- www.securityfocus.com/bid/91687nvdThird Party AdvisoryVDB EntryWEB
- github.com/advisories/GHSA-8crv-49fr-2h6jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-5007ghsaADVISORY
- pivotal.io/security/cve-2016-5007nvdVendor AdvisoryWEB
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.htmlnvdWEB
- github.com/spring-projects/spring-framework/commit/a30ab30e4e9ae021fdda04e9abfc228476b846b5ghsaWEB
- github.com/spring-projects/spring-security/commit/e4c13e3c0ee7f06f59d3b43ca6734215ad7d8974ghsaWEB
- github.com/spring-projects/spring-security/issues/3964ghsaWEB
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlnvdWEB
News mentions
0No linked articles in our index yet.