Skip to main content
Network Thinking Solutions Logo

CVE-2021-22112

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…

All CVEs
CVE-2021-22112Published 2/23/2021

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…

Vendor advisory
CVSS8.8High

Overview

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.

Published
2/23/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
spring security
pivotal software
< 5.2.9

Verify advisory

Source
spring security
pivotal software
≥ 5.3.0, < 5.3.8

Verify advisory

Source
spring security
vmware
≥ 5.4.0, < 5.4.4

Verify advisory

Source
communications element manager
oracle
≥ 8.2.0, ≤ 8.2.4.0

Verify advisory

Source
communications interactive session recorder
oracle
6.3

Verify advisory

Source
communications interactive session recorder
oracle
6.4

Verify advisory

Source
communications unified inventory management
oracle
7.4.1

Verify advisory

Source
hospitality cruise shipboard property management system
oracle
20.1.0

Verify advisory

Source
insurance policy administration
oracle
11.2.0

Verify advisory

Source
insurance policy administration
oracle
11.3.0

Verify advisory

Source
mysql enterprise monitor
oracle
≤ 8.0.25

Verify advisory

Source
Spring Security
n/a
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

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.