WaratekVRT Sign in

CVE-2016-5007

Affected software2 products, listed below
Severity7.5 High CVSS 3.0 2 scores
Fixed in4.3.1
WeaknessCWE-264
Published25 May 2017
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.8% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-projects/spring-framework a30ab30.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.5 HIGH v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 7.5 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2018 ↗ CPU 2018-Q2 Oracle Retail Applications / Point of Sale (Spring Framework) (6.0.11, 6.5.11, 7.0.6, 7.1.6, 15.0.1)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Retail Applications Point of Sale (Spring Framework) 6.0.11, 6.5.11, 7.0.6, 7.1.6, 15.0.1 6.0.11 · 6.5.11 · 7.0.6 · 7.1.6 · 15.0.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework:spring-core 0 4.3.1 unbounded
org.springframework.security:spring-security-core 0 4.1.1 unbounded

Products and versions

5 products, 68 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework spring-core generic < 4.3.1
osv org.springframework.security spring-security-core generic < 4.1.1
nvd pivotal software spring framework generic 3.2.0 · 4.0.0 · 4.1.0 · 4.2.0
nvd vmware spring framework generic 3.2.1 · 3.2.2 · 3.2.3 · 3.2.4 · 3.2.5 · 3.2.6 · 3.2.7 · 3.2.8 · 3.2.9 · 3.2.10 · 3.2.11 · 3.2.12 · 3.2.13 · 3.2.14 · 3.2.15 · 3.2.16 · 3.2.17 · 3.2.18 · 4.0.1 · 4.0.2 · 4.0.3 · 4.0.4 · 4.0.5 · 4.0.6 · 4.0.7 · 4.0.8 · 4.0.9 · 4.1.1 · 4.1.2 · 4.1.3 · 4.1.4 · 4.1.5 · 4.1.6 · 4.1.7 · 4.1.8 · 4.1.9 · 4.2.1 · 4.2.2 · 4.2.3 · 4.2.4 · 4.2.5 · 4.2.6 · 4.2.7 · 4.2.8 · 4.2.9
nvd vmware spring security generic 3.2.0 · 3.2.1 · 3.2.2 · 3.2.3 · 3.2.4 · 3.2.5 · 3.2.6 · 3.2.7 · 3.2.8 · 3.2.9 · 3.2.10 · 4.0.0 · 4.0.1 · 4.0.2 · 4.0.3 · 4.0.4 · 4.1.0

References

URLTags
https://github.com/spring-projects/spring-security/issues/3964 WEB
https://github.com/spring-projects/spring-framework/commit/a30ab30e4e9ae021fdda04e9abfc228476b846b5 WEB
https://github.com/spring-projects/spring-security/commit/e4c13e3c0ee7f06f59d3b43ca6734215ad7d8974 WEB
https://github.com/advisories/GHSA-8crv-49fr-2h6j ADVISORY
https://pivotal.io/security/cve-2016-5007 WEB
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html WEB
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html WEB
http://www.securityfocus.com/bid/91687 WEB

Timeline

Published2017-05-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.