CVE-2016-5007Pivotal Software Spring Framework
High 7.5 No auth needed
Follow: this CVE · Pivotal Software · Pivotal Software Spring Framework We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- May 25, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spring Framework.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core |
< 4.1.1 |
4.1.1 |
— |
| Maven | org.springframework:spring-core |
< 4.3.1 |
4.3.1 |
— |
Per OSV / GitHub Advisories (GHSA-8crv-49fr-2h6j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pivotal_software | spring_framework | 3.2.0 |
| pivotal_software | spring_framework | 4.0.0 |
| pivotal_software | spring_framework | 4.1.0 |
| pivotal_software | spring_framework | 4.2.0 |
| vmware | spring_framework | 3.2.1 |
| vmware | spring_framework | 3.2.2 |
| vmware | spring_framework | 3.2.3 |
| vmware | spring_framework | 3.2.4 |
| vmware | spring_framework | 3.2.5 |
| vmware | spring_framework | 3.2.6 |
| vmware | spring_framework | 3.2.7 |
| vmware | spring_framework | 3.2.8 |
| vmware | spring_framework | 3.2.9 |
| vmware | spring_framework | 3.2.10 |
| vmware | spring_framework | 3.2.11 |
| vmware | spring_framework | 3.2.12 |
| vmware | spring_framework | 3.2.13 |
| vmware | spring_framework | 3.2.14 |
| vmware | spring_framework | 3.2.15 |
| vmware | spring_framework | 3.2.16 |
| vmware | spring_framework | 3.2.17 |
| vmware | spring_framework | 3.2.18 |
| vmware | spring_framework | 4.0.1 |
| vmware | spring_framework | 4.0.2 |
| vmware | spring_framework | 4.0.3 |
| vmware | spring_framework | 4.0.4 |
| vmware | spring_framework | 4.0.5 |
| vmware | spring_framework | 4.0.6 |
| vmware | spring_framework | 4.0.7 |
| vmware | spring_framework | 4.0.8 |
| vmware | spring_framework | 4.0.9 |
| vmware | spring_framework | 4.1.1 |
| vmware | spring_framework | 4.1.2 |
| vmware | spring_framework | 4.1.3 |
| vmware | spring_framework | 4.1.4 |
| vmware | spring_framework | 4.1.5 |
| vmware | spring_framework | 4.1.6 |
| vmware | spring_framework | 4.1.7 |
| vmware | spring_framework | 4.1.8 |
| vmware | spring_framework | 4.1.9 |
| vmware | spring_framework | 4.2.1 |
| vmware | spring_framework | 4.2.2 |
| vmware | spring_framework | 4.2.3 |
| vmware | spring_framework | 4.2.4 |
| vmware | spring_framework | 4.2.5 |
| vmware | spring_framework | 4.2.6 |
| vmware | spring_framework | 4.2.7 |
| vmware | spring_framework | 4.2.8 |
| vmware | spring_framework | 4.2.9 |
| vmware | spring_security | 3.2.0 |
| vmware | spring_security | 3.2.1 |
| vmware | spring_security | 3.2.2 |
| vmware | spring_security | 3.2.3 |
| vmware | spring_security | 3.2.4 |
| vmware | spring_security | 3.2.5 |
| vmware | spring_security | 3.2.6 |
| vmware | spring_security | 3.2.7 |
| vmware | spring_security | 3.2.8 |
| vmware | spring_security | 3.2.9 |
| vmware | spring_security | 3.2.10 |
and 6 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- www.oracle.com
- www.securityfocus.com Third Party Advisory VDB Entry
- pivotal.io Vendor Advisory
- www.oracle.com