CVE-2016-5007: Pivotal Software Spring Framework

High severity, CVSS 7.5. EPSS: 2.9% chance of exploitation in the next 30 days.

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 products

  • Pivotal Software Spring Framework: version 3.2.0 only; version 4.0.0 only; version 4.1.0 only; version 4.2.0 only
  • VMware Spring Framework: version 3.2.1 only; version 3.2.2 only; version 3.2.3 only; version 3.2.4 only; version 3.2.5 only; version 3.2.6 only; …
  • VMware Spring Security: version 3.2.0 only; version 3.2.1 only; version 3.2.2 only; version 3.2.3 only; version 3.2.4 only; version 3.2.5 only; …

Published 2017-05-25. Last modified 2026-06-17.