CVE-2022-22978
CRITICALAuthorization bypass in Spring Security
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-web☕org.springframework.security:spring-security-web☕org.springframework.security:spring-security-webReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.security:spring-security-core | ≥ 5.5.0&&< 5.5.7 | 5.5.7 |
| ☕Maven | org.springframework.security:spring-security-core | ≥ 5.6.0&&< 5.6.4 | 5.6.4 |
| ☕Maven | org.springframework.security:spring-security-core | all versions | 5.4.11 |
| ☕Maven | org.springframework.security:spring-security-web | ≥ 5.5.0&&< 5.5.7 | 5.5.7 |
| ☕Maven | org.springframework.security:spring-security-web | ≥ 5.6.0&&< 5.6.4 | 5.6.4 |
| ☕Maven | org.springframework.security:spring-security-web | all versions | 5.4.11 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Frequently Asked Questions
Is CVE-2022-22978 in your stack?
O3 detects CVE-2022-22978 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.