CVE-2016-5007
Reported by dell · Published May 25, 2017
spring-security-core is fixed in 4.1.1 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core | Maven Central | 4.1.1 |
| org.springframework:spring-core | Maven Central | 4.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Pivotal | Spring Security | 3.2.x, 4.0.x, 4.1.0 |
| Pivotal | Spring Framework | 3.2.x, 4.0.x, 4.1.x |
| Maven | org.springframework.security:spring-security-core | 0 |
| Pivotal | Spring Framework | 4.0.x, 3.2.x, 4.1.x |
| Pivotal | Spring Security | 4.0.x, 4.1.0, 3.2.x |
| Maven | org.springframework:spring-core | 0 |
Timeline
- May 25, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Apr 10, 2026 Security Advisory
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5007
vulnetix vdb fixes CVE-2016-5007
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5007/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 91687 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_MISC