CVE-2022-22978: Critical severity spring security vulnerability

Published May 16, 2022
·
Updated

A flaw was found in Spring Security. When using RegexRequestMatcher, an easy misconfiguration can bypass some servlet containers. Applications using RegexRequestMatcher with . in the regular expression are possibly vulnerable to an authorization bypass.

Other sources

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. https://tanzu.vmware.com/security/cve-2022-22978

Red Hat

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.

Spring Security could allow a remote attacker to bypass security restrictions, caused by a flaw in the RegexRequestMatcher component. By misconfiguring RegexRequestMatcher with . in the regular expression, an attacker could exploit this vulnerability to bypass authorization and obtain access.

IBM

Affected Software

17 affected componentsFixes available
redhat/jenkins<0:2.387.3.1684911776-3.el8
0:2.387.3.1684911776-3.el8
redhat/spring-security<5.5.7
5.5.7
redhat/spring-security<5.6.4
5.6.4
redhat/spring-security<5.7.0
5.7.0
maven/org.springframework.security:spring-security-web<5.4.11
5.4.11
maven/org.springframework.security:spring-security-web>=5.6.0<5.6.4
5.6.4
maven/org.springframework.security:spring-security-web>=5.5.0<5.5.7
5.5.7
maven/org.springframework.security:spring-security-core<5.4.11
5.4.11
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
VMware Spring Security<5.5.7
VMware Spring Security>=5.6.0<5.6.4
Oracle Financial Services Crime And Compliance Management Studio=8.0.8.2.0
Oracle Financial Services Crime And Compliance Management Studio=8.0.8.3.0
NetApp Active Iq Unified Manager Linux
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows

Event History

May 16, 2022
CVE Published
12:00 AM
May 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
May 20, 2022
Advisory Published
via GitHub·12:00 AM
Mar 20, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-22978?

CVE-2022-22978 is a vulnerability found in Spring Security that can be easily misconfigured to be bypassed on some servlet containers.

2

What is the severity of CVE-2022-22978?

CVE-2022-22978 has a severity rating of 9.8 (Critical).

3

How does CVE-2022-22978 affect Spring Security?

CVE-2022-22978 affects Spring Security versions prior to 5.4.11+, 5.5.7+, 5.6.4+ and older unsupported versions.

4

How can CVE-2022-22978 be exploited?

CVE-2022-22978 can be exploited by misconfiguring RegexRequestMatcher with `.` in the regular expression.

5

How can I fix CVE-2022-22978?

To fix CVE-2022-22978, update to Spring Security version 5.4.11+, 5.5.7+, 5.6.4+, or a later supported version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203