CVE-2022-22978 spring security
| Affected software | spring security |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 5.5.7, 5.6.4, 5.4.11 |
| Weakness | Incorrect authorization (CWE-863) |
| Published | 19 May 2022 |
| Updated | 17 Jun 2026 |
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.
CWE-285
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 5 indexed Published artifacts you can open, in GitHub PoC; first seen 2022-05-31.
- EPSS 12% chance in 30 days A model's forecast, not a report of exploitation. Higher than 96% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | CVE-2022-22978 Spring-Security bypass Demo | 15 | 2022-05-31 |
| GitHub PoC | PoC of CVE-2022-22978 vulnerability in Spring Security framework | 13 | 2022-06-04 |
| GitHub PoC | CVE-2022-22978 POC Project | 5 | 2022-07-13 |
| GitHub PoC | umakant76705/CVE-2022-22978 | 2 | 2023-03-01 |
| GitHub PoC | CVE-2022-22978漏洞实例代码 | 2024-05-17 |
Waratek protection
A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.
- Protection none
- Action unverified
- Review automated Inferred
- Record active
| Decided by | The affected package being open source on Maven, so the fix can be read |
|---|---|
| Finding | This CVE affects an open-source Java library published on Maven Central (Maven packages: org.springframework.security:spring-security-core, org.springframework.security:spring-security-web), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on. |
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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 |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Financial Services Applications / Base (Spring Security) (14.4-14.7) |
| Oracle Critical Patch Update January 2023 ↗ | CPU | 2023-Q1 | Oracle Communications Applications / Message Bus (Spring Security) (5.5.0-5.5.9, 6.0.0-6.0.1) |
| Oracle Critical Patch Update October 2022 ↗ | CPU | 2022-Q4 | Oracle Communications / Authentication (Spring Security) (9.0) Oracle Communications / Management (Spring Security) (9.1.1.2.0) Oracle Communications / Platform (Spring Security) (6.4) Oracle Communications / Signaling (Spring Security) (22.2.0) Oracle Utilities Applications / Tools (Spring Security) (6.0.0.1.3, 6.0.0.2.4, 6.0.0.3.3) |
| Oracle Critical Patch Update July 2022 ↗ | CPU | 2022-Q3 | Oracle Financial Services Applications / Studio (Spring Security) (8.0.8.2.0, 8.0.8.3.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Authentication (Spring Security) | 9.0 | 9.0 |
| Oracle Communications | Management (Spring Security) | 9.1.1.2.0 | 9.1.1.2.0 |
| Oracle Communications | Platform (Spring Security) | 6.4 | 6.4 |
| Oracle Communications | Signaling (Spring Security) | 22.2.0 | 22.2.0 |
| Oracle Communications Applications | Message Bus (Spring Security) | 5.5.0-5.5.9, 6.0.0-6.0.1 | |
| Oracle Financial Services Applications | Base (Spring Security) | 14.4-14.7 | |
| Oracle Financial Services Applications | Studio (Spring Security) | 8.0.8.2.0, 8.0.8.3.0 | 8.0.8.2.0 · 8.0.8.3.0 |
| Oracle Utilities Applications | Tools (Spring Security) | 6.0.0.1.3, 6.0.0.2.4, 6.0.0.3.3 | 6.0.0.1.3 · 6.0.0.2.4 · 6.0.0.3.3 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-core |
5.5.0 | 5.5.7 |
unbounded |
org.springframework.security:spring-security-core |
5.6.0 | 5.6.4 |
unbounded |
org.springframework.security:spring-security-core |
0 | 5.4.11 |
unbounded |
org.springframework.security:spring-security-web |
5.5.0 | 5.5.7 |
unbounded |
org.springframework.security:spring-security-web |
5.6.0 | 5.6.4 |
unbounded |
org.springframework.security:spring-security-web |
0 | 5.4.11 |
unbounded |
Products and versions
5 products, 11 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | netapp | active iq unified manager | generic | any version |
| nvd | oracle | financial services crime and compliance management studio | generic | 8.0.8.2.0 · 8.0.8.3.0 |
| osv | org.springframework.security | spring-security-core | generic | < 5.4.11 · ≥ 5.5.0 and < 5.5.7 · ≥ 5.6.0 and < 5.6.4 |
| osv | org.springframework.security | spring-security-web | generic | < 5.4.11 · ≥ 5.5.0 and < 5.5.7 · ≥ 5.6.0 and < 5.6.4 |
| nvd | vmware | spring security | generic | < 5.5.7 · ≥ 5.6.0 and < 5.6.4 |
References
Timeline
Timeline
| Published | 2022-05-19 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |