CVE-2016-5007
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…
- Published
- Updated
- Reserved
- Assigned by
- dell
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.
Timeline
ID reserved
By dell
- 12 months later
· 12 months later
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 2.8% · top 13% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- Security Control Bypass
- CWE-264 (opens in a new tab)All about CWE-264 and its CVEs
Affected products
- affected 3.2.x
- affected 4.0.x
- affected 4.1.0
- affected 3.2.x
- affected 4.0.x
- affected 4.1.x
- affected 4.2.x
- affected older unsupported versions are also affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.springframework.security:spring-security-coreGHSA-8crv-49fr-2h6j (opens in a new tab)
- Mavenorg.springframework:spring-coreGHSA-8crv-49fr-2h6j (opens in a new tab)
References (4)
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 91687 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://pivotal.io/security/cve-2016-5007 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8crv-49fr-2h6j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2016-5007)Record last updated .