VYPR
High severity7.5NVD Advisory· Published May 25, 2017· Updated May 13, 2026

CVE-2016-5007

CVE-2016-5007

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.springframework:spring-coreMaven
< 4.3.14.3.1
org.springframework.security:spring-security-coreMaven
< 4.1.14.1.1

Affected products

68
  • cpe:2.3:a:pivotal_software:spring_framework:3.2.0:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:a:pivotal_software:spring_framework:3.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring_framework:4.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring_framework:4.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring_framework:4.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:vmware:spring_framework:3.2.1:*:*:*:*:*:*:*+ 44 more
    • cpe:2.3:a:vmware:spring_framework:3.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.5:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.6:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.7:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.8:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.9:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.10:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.11:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.12:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.13:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.14:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.15:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.16:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.17:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:3.2.18:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.5:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.6:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.7:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.8:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.0.9:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.5:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.6:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.7:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.8:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.1.9:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.5:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.6:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.7:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.8:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_framework:4.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*+ 16 more
    • cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.5:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.6:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.7:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.8:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.9:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:3.2.10:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.0.1:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.0.3:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.0.4:*:*:*:*:*:*:*
    • cpe:2.3:a:vmware:spring_security:4.1.0:*:*:*:*:*:*:*
  • Pivotal/Spring Securityv5
    Range: 3.2.x
  • Pivotal/Spring Frameworkv5
    Range: 3.2.x

Patches

2

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

9

News mentions

0

No linked articles in our index yet.