cve.bz

CVE-2022-22978

9.8 criticalEPSS 12%

Critical (9.8). EPSS 12% chance of exploitation in the next 30 days. Fixed in org.springframework.security:spring-security-core 5.4.11, 5.5.7, 5.6.4.

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.

Severity

CVSS 3.1

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

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core>=5.5.0 <5.5.75.5.7
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core>=5.6.0 <5.6.45.6.4
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-core<5.4.115.4.11
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web>=5.5.0 <5.5.75.5.7
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web>=5.6.0 <5.6.45.6.4
GHSA-hh32-7344-cg2fMavenorg.springframework.security:spring-security-web<5.4.115.4.11

References

Check your stackJSON