CVE-2021-22112 in Oracle Mysql Enterprise Monitor and 7 more products
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 applica...
Affects 8 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Oracle | Mysql Enterprise Monitor | ≤ 8.0.25 |
| Oracle | Communications Interactive Session Recorder | 6.3 6.4 |
| Oracle | Insurance Policy Administration | 11.2.0 11.3.0 |
| Oracle | Hospitality Cruise Shipboard Property Management System | 20.1.0 |
| Oracle | Communications Unified Inventory Management | 7.4.1 |
| Oracle | Communications Element Manager | ≥ 8.2.0, ≤ 8.2.4.0 |
| Pivotal Software | Spring Security | < 5.2.9 ≥ 5.3.0, < 5.3.8 |
| Vmware | Spring Security | ≥ 5.4.0, < 5.4.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-22112 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-081335-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-02-23 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Spring Security versions prior to 5.4.4, 5.3.8.RELEASE, 5.2.9.RELEASE, and older unsupported versions have a bug where the SecurityContext may not be saved if it is changed more than once in a single request. This can lead to unexpected behavior in applications that rely on the SecurityContext being updated correctly.
The vulnerability is not directly exploitable by a malicious user as it requires the application to be programmed in a specific way to trigger the issue. However, if an application is designed to update the SecurityContext multiple times in a single request, it may inadvertently be affected, leading to potential security issues.
Questions
What is CVE-2021-22112?
Spring Security versions prior to 5.4.4, 5.3.8.RELEASE, 5.2.9.RELEASE, and older unsupported versions have a bug where the SecurityContext may not be saved if it is changed more than once in a single request. This can lead to unexpected behavior in applications that rely on the SecurityContext being updated correctly.
What is the CVSS score for CVE-2021-22112?
CVE-2021-22112 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.3%.
Is CVE-2021-22112 actively exploited?
No confirmed active exploitation of CVE-2021-22112 as of 2026-09-25.
How do I remediate CVE-2021-22112?
Priority: MEDIUM. Advisory: https://tanzu.vmware.com/security/cve-2021-22112 PSIRT: [email protected]
What systems are affected by CVE-2021-22112?
CVE-2021-22112 affects Oracle Mysql Enterprise Monitor, Communications Interactive Session Recorder, Insurance Policy Administration, Hospitality Cruise Shipboard Property Management System, Communications Unified Inventory Management, Communications Element Manager; Pivotal Software Spring Security; Vmware Spring Security.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Mysql Enterprise Monitor","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.