CVE-2021-22112
Apache Spring Security Privilege Escalation Vulnerability
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.
INFO
Published Date :
Feb. 23, 2021, 7:15 p.m.
Last Modified :
Nov. 7, 2023, 3:30 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2021-22112 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-22112
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-22112
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
SCSS Mustache
None
Dockerfile Shell
Automatic monitor github cve using Github Actions
Python
Spring Security integration with Auth0 to secure your API with JWTs
dx-sdk spring-security
Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-22112
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-22112
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference VMware https://lists.apache.org/thread.html/redbd004a503b3520ae5746c2ab5e93fd7da807a8c128e60d2002cd9b%40%3Cissues.nifi.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/ra6389b1b82108a3b6bbcd22979f7665fd437c2a3408c9509a15a9ca1%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804%40%3Cpluto-scm.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E [No types assigned] Added Reference VMware https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E [No types assigned] Removed Reference VMware https://lists.apache.org/thread.html/redbd004a503b3520ae5746c2ab5e93fd7da807a8c128e60d2002cd9b@%3Cissues.nifi.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/ra6389b1b82108a3b6bbcd22979f7665fd437c2a3408c9509a15a9ca1@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804@%3Cpluto-scm.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E Removed Reference VMware https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378@%3Cpluto-dev.portals.apache.org%3E -
Modified Analysis by [email protected]
Dec. 08, 2021
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.2.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.3.0:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:communications_element_manager:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (including) 8.2.4.0 *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.2.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.3.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:* versions up to (including) 8.0.25 -
CVE Modified by [email protected]
Oct. 20, 2021
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned] -
Modified Analysis by [email protected]
Aug. 06, 2021
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804@%3Cpluto-scm.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804@%3Cpluto-scm.portals.apache.org%3E Mailing List, Patch, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/ra6389b1b82108a3b6bbcd22979f7665fd437c2a3408c9509a15a9ca1@%3Cpluto-dev.portals.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/ra6389b1b82108a3b6bbcd22979f7665fd437c2a3408c9509a15a9ca1@%3Cpluto-dev.portals.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://www.oracle.com//security-alerts/cpujul2021.html No Types Assigned https://www.oracle.com//security-alerts/cpujul2021.html Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.2.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:insurance_policy_administration:11.3.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 20, 2021
Action Type Old Value New Value Added Reference https://www.oracle.com//security-alerts/cpujul2021.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 14, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Jun. 23, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/ra6389b1b82108a3b6bbcd22979f7665fd437c2a3408c9509a15a9ca1@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177@%3Cpluto-dev.portals.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804@%3Cpluto-scm.portals.apache.org%3E [No Types Assigned] -
Modified Analysis by [email protected]
Jun. 16, 2021
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuApr2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuApr2021.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jun. 14, 2021
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuApr2021.html [No Types Assigned] -
Reanalysis by [email protected]
Jun. 11, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.9 *cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.4 OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.8 *cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.4 -
CPE Deprecation Remap by [email protected]
Jun. 08, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 from (excluding) 5.4.4 OR *cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 from (excluding) 5.4.4 -
Modified Analysis by [email protected]
May. 25, 2021
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/redbd004a503b3520ae5746c2ab5e93fd7da807a8c128e60d2002cd9b@%3Cissues.nifi.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/redbd004a503b3520ae5746c2ab5e93fd7da807a8c128e60d2002cd9b@%3Cissues.nifi.apache.org%3E Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.2.0 up to (excluding) 5.2.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.8 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.4 OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.4 -
CVE Modified by [email protected]
May. 11, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/redbd004a503b3520ae5746c2ab5e93fd7da807a8c128e60d2002cd9b@%3Cissues.nifi.apache.org%3E [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 01, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2021/02/19/7 No Types Assigned http://www.openwall.com/lists/oss-security/2021/02/19/7 Mailing List, Third Party Advisory Changed Reference Type https://tanzu.vmware.com/security/cve-2021-22112 No Types Assigned https://tanzu.vmware.com/security/cve-2021-22112 Vendor Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.2.0 up to (excluding) 5.2.9 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.8 *cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.4 -
CVE Modified by [email protected]
Feb. 26, 2021
Action Type Old Value New Value Removed Reference https://tanzu.vmware.com/security/cve-2021-221122 [No Types Assigned] Added Reference http://www.openwall.com/lists/oss-security/2021/02/19/7 [No Types Assigned] Added Reference https://tanzu.vmware.com/security/cve-2021-22112 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-22112
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-22112
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.26 }} -0.26%
score
0.63370
percentile