CVE-2022-22978
CRITICAL 9.8CVSS 3.1Authorization bypass in Spring Security
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.
- Published
- 19 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-863
- Also known as
- GHSA-hh32-7344-cg2f
- Sources
- NVDJSONOSV GHSA-hh32-7344-cg2fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
< 5.5.7 | 5.5.7 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.6.0, < 5.6.4 | 5.6.4 |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:* |
= 8.0.8.2.0 | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:* |
= 8.0.8.3.0 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.5.0, < 5.5.7 | 5.5.7 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.6.0, < 5.6.4 | 5.6.4 |
| OSV | Maven | org.springframework.security:spring-security-core | < 5.4.11 | 5.4.11 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 5.5.0, < 5.5.7 | 5.5.7 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 5.6.0, < 5.6.4 | 5.6.4 |
| OSV | Maven | org.springframework.security:spring-security-web | < 5.4.11 | 5.4.11 |
References
- https://spring.io/security/cve-2022-22978 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-22978 · ADVISORY
- https://github.com/anchore/grype/issues/2158 · WEB
- https://github.com/spring-projects/spring-security · PACKAGE
- https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java · WEB
- https://security.netapp.com/advisory/ntap-20220707-0003 · WEB
- https://tanzu.vmware.com/security/cve-2022-22978 · WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 May 2022)