Live threats

All CVEs / Pivotal Software

CVE-2016-5007Pivotal Software Spring Framework

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Framework.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pivotal_softwarespring_framework3.2.0
pivotal_softwarespring_framework4.0.0
pivotal_softwarespring_framework4.1.0
pivotal_softwarespring_framework4.2.0
vmwarespring_framework3.2.1
vmwarespring_framework3.2.2
vmwarespring_framework3.2.3
vmwarespring_framework3.2.4
vmwarespring_framework3.2.5
vmwarespring_framework3.2.6
vmwarespring_framework3.2.7
vmwarespring_framework3.2.8
vmwarespring_framework3.2.9
vmwarespring_framework3.2.10
vmwarespring_framework3.2.11
vmwarespring_framework3.2.12
vmwarespring_framework3.2.13
vmwarespring_framework3.2.14
vmwarespring_framework3.2.15
vmwarespring_framework3.2.16
vmwarespring_framework3.2.17
vmwarespring_framework3.2.18
vmwarespring_framework4.0.1
vmwarespring_framework4.0.2
vmwarespring_framework4.0.3
vmwarespring_framework4.0.4
vmwarespring_framework4.0.5
vmwarespring_framework4.0.6
vmwarespring_framework4.0.7
vmwarespring_framework4.0.8
vmwarespring_framework4.0.9
vmwarespring_framework4.1.1
vmwarespring_framework4.1.2
vmwarespring_framework4.1.3
vmwarespring_framework4.1.4
vmwarespring_framework4.1.5
vmwarespring_framework4.1.6
vmwarespring_framework4.1.7
vmwarespring_framework4.1.8
vmwarespring_framework4.1.9
vmwarespring_framework4.2.1
vmwarespring_framework4.2.2
vmwarespring_framework4.2.3
vmwarespring_framework4.2.4
vmwarespring_framework4.2.5
vmwarespring_framework4.2.6
vmwarespring_framework4.2.7
vmwarespring_framework4.2.8
vmwarespring_framework4.2.9
vmwarespring_security3.2.0
vmwarespring_security3.2.1
vmwarespring_security3.2.2
vmwarespring_security3.2.3
vmwarespring_security3.2.4
vmwarespring_security3.2.5
vmwarespring_security3.2.6
vmwarespring_security3.2.7
vmwarespring_security3.2.8
vmwarespring_security3.2.9
vmwarespring_security3.2.10

and 6 more in the JSON

Official sources

References

Links published by the sources. Open them with care.