Back to CVE catalog
CVE-2016-5007

URL pattern matching inconsistencies in Spring Security and Spring Framework

Pivotal Spring Security

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
2.802%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:PivotalSpring SecurityAffected versions:
3.2.xShow full version range for Spring Security
4.0.x4.1.0
Vendor:PivotalSpring FrameworkAffected versions:
3.2.xShow full version range for Spring Framework
4.0.x4.1.x4.2.xolder unsupported versions are also affected
Vendor:Red HatRed Hat Enterprise Virtualization 3Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss A-MQ 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Fuse 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat OpenShift Enterprise 2Affected versions:Source does not specify a version range
Vendor:pivotal_softwarespring frameworkAffected versions:
3.2.0Show full version range for spring framework
4.0.04.1.04.2.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:vmwarespring frameworkAffected versions:
3.2.10Show full version range for spring framework
3.2.113.2.123.2.133.2.143.2.153.2.163.2.173.2.183.2.13.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.94.0.14.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.14.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.94.2.14.2.24.2.34.2.44.2.54.2.64.2.74.2.84.2.9
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:vmwarespring securityAffected versions:
3.2.0Show full version range for spring security
3.2.103.2.13.2.23.2.33.2.43.2.53.2.63.2.73.2.83.2.94.0.04.0.14.0.24.0.34.0.44.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–9 of 9 · Page 1 of 1

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVE-2016-5007 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
High
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Red Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N
Red Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences