CVE-2021-22112
| Affected software | 8 products, listed below |
|---|---|
| Severity | 8.8 High CVSS 3.1 2 scores |
| Fixed in | 5.4.4, 5.3.8, 5.2.9 |
| Weakness | Improper privilege management (CWE-269) |
| Published | 23 Feb 2021 |
| Updated | 17 Jun 2026 |
Description
Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 5 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 3.3% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
VRT has not found a public code change for this CVE yet.
- Protection none
- Action not pursued
- Review human Researcher
- Record active
| Decided by | Manual classification of this CVE in the legacy dataset |
|---|---|
| Finding | A manual classification set this CVE's status to No source fix or exploit. |
CVSS
8.8 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
8.8 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:L/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 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 9.0 | none | AV:N/AC:L/Au:S/C:C/I:C/A:C |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update October 2021 ↗ | CPU | 2021-Q4 | Oracle Communications / Work Orders (Spring Security) (8.2.0.0-8.2.4.0) Oracle MySQL / Monitoring: General (Spring Security) (8.0.25 and prior) |
| Oracle Critical Patch Update July 2021 ↗ | CPU | 2021-Q3 | Oracle Communications Applications / REST API (Spring Security) (7.4.1) Oracle Insurance Applications / Architecture (Spring Security) (11.2.0, 11.3.0) |
| Oracle Critical Patch Update April 2021 ↗ | CPU | 2021-Q2 | Oracle Communications / Provision API (Spring Security) (6.3, 6.4) Oracle Hospitality Applications / Next-Gen SPMS (Spring Security) (20.1.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Provision API (Spring Security) | 6.3, 6.4 | 6.3 · 6.4 |
| Oracle Communications | Work Orders (Spring Security) | 8.2.0.0-8.2.4.0 | |
| Oracle Communications Applications | REST API (Spring Security) | 7.4.1 | 7.4.1 |
| Oracle Hospitality Applications | Next-Gen SPMS (Spring Security) | 20.1.0 | 20.1.0 |
| Oracle Insurance Applications | Architecture (Spring Security) | 11.2.0, 11.3.0 | 11.2.0 · 11.3.0 |
| Oracle MySQL | Monitoring: General (Spring Security) | 8.0.25 and prior |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-bom |
5.4.0 | 5.4.4 |
unbounded |
org.springframework.security:spring-security-bom |
5.3.0 | 5.3.8 |
unbounded |
org.springframework.security:spring-security-bom |
0 | 5.2.9 |
unbounded |
org.springframework.security:spring-security-web |
5.4.0 | 5.4.4 |
unbounded |
org.springframework.security:spring-security-web |
5.3.0 | 5.3.8 |
unbounded |
org.springframework.security:spring-security-web |
0 | 5.2.9 |
unbounded |
Products and versions
10 products, 17 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | oracle | communications element manager | generic | ≥ 8.2.0 and ≤ 8.2.4.0 |
| nvd | oracle | communications interactive session recorder | generic | 6.3 · 6.4 |
| nvd | oracle | communications unified inventory management | generic | 7.4.1 |
| nvd | oracle | hospitality cruise shipboard property management system | generic | 20.1.0 |
| nvd | oracle | insurance policy administration | generic | 11.2.0 · 11.3.0 |
| nvd | oracle | mysql enterprise monitor | generic | ≤ 8.0.25 |
| osv | org.springframework.security | spring-security-bom | generic | < 5.2.9 · ≥ 5.3.0 and < 5.3.8 · ≥ 5.4.0 and < 5.4.4 |
| osv | org.springframework.security | spring-security-web | generic | < 5.2.9 · ≥ 5.3.0 and < 5.3.8 · ≥ 5.4.0 and < 5.4.4 |
| nvd | pivotal software | spring security | generic | < 5.2.9 · ≥ 5.3.0 and < 5.3.8 |
| nvd | vmware | spring security | generic | ≥ 5.4.0 and < 5.4.4 |
Earlier manual review
A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.
## Manual Classification Context **Labels:** HTTP, NEXT-GEN SPMS (SPRING SECURITY), REST API (SPRING SECURITY), HTTPS, PROVISION API (SPRING SECURITY), MONITORING: GENERAL (SPRING SECURITY), ARCHITECTURE (SPRING SECURITY), WORK ORDERS (SPRING SECURITY) **Products:** ORACLE HOSPITALITY CRUISE SHIPBOARD PROPERTY MANAGEMENT SYSTEM, JENKINS, ORACLE COMMUNICATIONS INTERACTIVE SESSION RECORDER, ORACLE COMMUNICATIONS UNIFIED INVENTORY MANAGEMENT, ORACLE HOSPITALITY APPLICATIONS, ORACLE COMMUNICATIONS APPLICATIONS, ORACLE COMMUNICATIONS ELEMENT MANAGER, MYSQL ENTERPRISE MONITOR, ORACLE INSURANCE APPLICATIONS, ORACLE INSURANCE POLICY ADMINISTRATION, ORACLE COMMUNICATIONS, ORACLE MYSQL
References
Timeline
Timeline
| Published | 2021-02-23 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |