cve.bz

CVE-2021-22112

8.8 highEPSS 3.3%Fix available

High (8.8). EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-bom 5.2.9, 5.3.8, 5.4.4.

On this page
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.

Severity

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
EPSS
3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22112 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22112?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22112?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22112 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pivotal_software:spring_securitybefore 5.2.9
pivotal_software:spring_securityfrom 5.3.0 before 5.3.8
vmware:spring_securityfrom 5.4.0 before 5.4.4
oracle:communications_element_managerfrom 8.2.0 through 8.2.4.0
oracle:communications_interactive_session_recorder6.3
oracle:communications_interactive_session_recorder6.4
oracle:communications_unified_inventory_management7.4.1
oracle:hospitality_cruise_shipboard_property_management_system20.1.0
oracle:insurance_policy_administration11.2.0
oracle:insurance_policy_administration11.3.0
oracle:mysql_enterprise_monitorthrough 8.0.25

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-bom>=5.4.0 <5.4.45.4.4
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-bom>=5.3.0 <5.3.85.3.8
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-bom<5.2.95.2.9
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-web>=5.4.0 <5.4.45.4.4
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-web>=5.3.0 <5.3.85.3.8
GHSA-gq28-h5vg-8prxMavenorg.springframework.security:spring-security-web<5.2.95.2.9

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Fuse 7jenkinsNot affected
Red Hat OpenShift Container Platform 3.11jenkinsNot affected
Red Hat OpenShift Container Platform 4jenkinsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22112.

References

Check your stackJSON