VDB

CVE-2016-5007

CVE-2016-5007 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
org.springframework.security:spring-security-coreMaven Central4.1.1
org.springframework:spring-coreMaven Central4.3.1

Risk scores

CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
PivotalSpring Security3.2.x, 4.0.x, 4.1.0
PivotalSpring Framework3.2.x, 4.0.x, 4.1.x
Mavenorg.springframework.security:spring-security-core0
PivotalSpring Framework4.0.x, 3.2.x, 4.1.x
PivotalSpring Security4.0.x, 4.1.0, 3.2.x
Mavenorg.springframework:spring-core0

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
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›