CVE-2022-22978
Authorization bypass in Spring Security
9.8
CRITICAL
CVSS 3.1
EPSS 90.2%
Description
In Spring Security versions 5.5.6 and 5.5.7 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.
How to fix CVE-2022-22978
To remediate CVE-2022-22978, upgrade the affected package to a fixed version below.
- —upgrade to 5.5.7 or later
- —upgrade to 5.5.7 or later
Is CVE-2022-22978 being exploited?
Likely — EPSS is 90.2%, placing CVE-2022-22978 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- >= 5.5.0, < 5.5.7
- >= 5.5.0, < 5.5.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |