CVE-2016-5007
Summary
| CVE | CVE-2016-5007 |
|---|---|
| State | PUBLISHED |
| Assigner | dell |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-05-25 17:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 7.5 HIGH from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Problem Types: CWE-264 | Security Control Bypass
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Pivotal Software | Spring Framework | 3.2.0 | All | All | All |
| Application | Pivotal Software | Spring Framework | 4.0.0 | All | All | All |
| Application | Pivotal Software | Spring Framework | 4.1.0 | All | All | All |
| Application | Pivotal Software | Spring Framework | 4.2.0 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.1 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.10 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.11 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.12 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.13 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.14 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.15 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.16 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.17 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.18 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.2 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.3 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.4 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.5 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.6 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.7 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.8 | All | All | All |
| Application | Vmware | Spring Framework | 3.2.9 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.1 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.2 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.3 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.4 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.5 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.6 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.7 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.8 | All | All | All |
| Application | Vmware | Spring Framework | 4.0.9 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.1 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.2 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.3 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.4 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.5 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.6 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.7 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.8 | All | All | All |
| Application | Vmware | Spring Framework | 4.1.9 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.1 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.2 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.3 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.4 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.5 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.6 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.7 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.8 | All | All | All |
| Application | Vmware | Spring Framework | 4.2.9 | All | All | All |
| Application | Vmware | Spring Security | 3.2.0 | All | All | All |
| Application | Vmware | Spring Security | 3.2.1 | All | All | All |
| Application | Vmware | Spring Security | 3.2.10 | All | All | All |
| Application | Vmware | Spring Security | 3.2.2 | All | All | All |
| Application | Vmware | Spring Security | 3.2.3 | All | All | All |
| Application | Vmware | Spring Security | 3.2.4 | All | All | All |
| Application | Vmware | Spring Security | 3.2.5 | All | All | All |
| Application | Vmware | Spring Security | 3.2.6 | All | All | All |
| Application | Vmware | Spring Security | 3.2.7 | All | All | All |
| Application | Vmware | Spring Security | 3.2.8 | All | All | All |
| Application | Vmware | Spring Security | 3.2.9 | All | All | All |
| Application | Vmware | Spring Security | 4.0.0 | All | All | All |
| Application | Vmware | Spring Security | 4.0.1 | All | All | All |
| Application | Vmware | Spring Security | 4.0.2 | All | All | All |
| Application | Vmware | Spring Security | 4.0.3 | All | All | All |
| Application | Vmware | Spring Security | 4.0.4 | All | All | All |
| Application | Vmware | Spring Security | 4.1.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Pivotal | Spring Security | affected 3.2.x | Not specified |
| CNA | Pivotal | Spring Security | affected 4.0.x | Not specified |
| CNA | Pivotal | Spring Security | affected 4.1.0 | Not specified |
| CNA | Pivotal | Spring Framework | affected 3.2.x | Not specified |
| CNA | Pivotal | Spring Framework | affected 4.0.x | Not specified |
| CNA | Pivotal | Spring Framework | affected 4.1.x | Not specified |
| CNA | Pivotal | Spring Framework | affected 4.2.x | Not specified |
| CNA | Pivotal | Spring Framework | affected older unsupported versions are also affected | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Oracle Critical Patch Update - July 2019 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| Spring Security and Spring Framework CVE-2016-5007 Security Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Oracle Critical Patch Update - April 2018 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| CVE-2016-5007 Spring Security / MVC Path Matching Inconsistency | Security | Pivotal | af854a3a-2127-422b-91ae-364da2661108 | pivotal.io | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 981205 Java (maven) Security Update for org.springframework.security:spring-security-core (GHSA-8crv-49fr-2h6j)