cve.bz

CVE-2018-1199

5.3 mediumEPSS 2.8%

Spring Security (Spring Security 4.1.x before 4.1.5, 4.2.x before 4.2.4, and 5.0.x before 5.0.1; and Spring Framework 4.3.x before 4.3.14 and 5.0.x before 5.0.3) does not consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. In this particular attack, different character encodings used in path parameters allows secured Spring MVC static resource URLs to be bypassed.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
2.8% chance of exploitation in the next 30 days; higher than 86% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v596-fwhq-8x48Mavenorg.springframework.security:spring-security-core>=4.2.0 <4.2.44.2.4
GHSA-v596-fwhq-8x48Mavenorg.springframework.security:spring-security-core>=5.0.0 <5.0.15.0.1
GHSA-v596-fwhq-8x48Mavenorg.springframework:spring-core>=4.3.0 <4.3.144.3.14
GHSA-v596-fwhq-8x48Mavenorg.springframework:spring-core>=5.0.0 <5.0.35.0.3
GHSA-v596-fwhq-8x48Mavenorg.springframework.security:spring-security-core>=4.1.0 <4.1.54.1.5

References

Check your stackJSON