URL pattern matching inconsistencies in Spring Security and Spring Framework
Pivotal Spring Security
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 2.802%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Pivotal | Spring Security | Affected versions:3.2.xShow full version range for Spring Security4.0.x4.1.0 |
| Vendor:Pivotal | Spring Framework | Affected versions:3.2.xShow full version range for Spring Framework4.0.x4.1.x4.2.xolder unsupported versions are also affected |
| Vendor:Red Hat | Red Hat Enterprise Virtualization 3 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss A-MQ 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Fuse 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat OpenShift Enterprise 2 | Affected versions:Source does not specify a version range |
| Vendor:pivotal_software | spring framework | Affected versions:3.2.0Show full version range for spring framework4.0.04.1.04.2.0
|
| Vendor:vmware | spring framework | Affected versions:3.2.10Show full version range for spring framework3.2.113.2.123.2.133.2.143.2.153.2.163.2.173.2.183.2.13.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.94.0.14.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.14.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.94.2.14.2.24.2.34.2.44.2.54.2.64.2.74.2.84.2.9
|
| Vendor:vmware | spring security | Affected versions:3.2.0Show full version range for spring security3.2.103.2.13.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.94.0.04.0.14.0.24.0.34.0.44.1.0
|
1–9 of 9 · Page 1 of 1
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NCVE-2016-5007 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NRed Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:NRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories9
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences