CVEfocus › CVE database › CVE-2016-5007

CVE-2016-5007

CVSS 7.5 HighEPSS 2.8% (higher than 87% of CVEs)Published 2017-05-25Updated 2024-08-06Assigner: dell

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libspring-javaNot affected
vulnerable_code_not_present
Ubuntu 25.10libspring-javaNot affected
vulnerable_code_not_present
Ubuntu 16.04libspring-javaFix pendingUBUNTU-CVE-2016-5007
Ubuntu 14.04libspring-javaFix pendingUBUNTU-CVE-2016-5007
Debian 14libspring-javaFixed4.3.2-1DEBIAN-CVE-2016-5007
Debian 13libspring-javaFixed4.3.2-1DEBIAN-CVE-2016-5007
Debian 12libspring-javaFixed4.3.2-1DEBIAN-CVE-2016-5007
Maven libraryorg.springframework.security:spring-security-coreFixed4.1.1GHSA-8crv-49fr-2h6j
Maven libraryorg.springframework:spring-coreFixed4.3.1GHSA-8crv-49fr-2h6j

What the vendor says

As published in the CVE record by dell, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.