CVE-2021-22112
highpriority · track · 36EPSS 0.033 · 88 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (24)
Products and version ranges known to be affected.
- n/a 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.RELEASEenisa_euvdEU
- oracle communications element manager8.2.0 → 8.2.4.0nvdUScpe:2.3:a:oracle:communications_element_manager:*:*:*:*:*:*:*:*
- oracle communications interactive session recorder= 6.3nvdUScpe:2.3:a:oracle:communications_interactive_session_recorder:*:*:*:*:*:*:*:*
- oracle communications interactive session recorder= 6.4nvdUScpe:2.3:a:oracle:communications_interactive_session_recorder:*:*:*:*:*:*:*:*
- oracle communications unified inventory management= 7.4.1nvdUScpe:2.3:a:oracle:communications_unified_inventory_management:*:*:*:*:*:*:*:*
- oracle hospitality cruise shipboard property management system= 20.1.0nvdUScpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:*:*:*:*:*:*:*:*
- oracle insurance policy administration= 11.2.0nvdUScpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:*
- oracle insurance policy administration= 11.3.0nvdUScpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:*
- oracle mysql enterprise monitor≤ 8.0.25nvdUScpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*
- pivotal software spring security< 5.2.9nvdUScpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
- pivotal software spring security5.3.0 → 5.3.8nvdUScpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
- Maven org.springframework.security:spring-security-bom< 5.2.9osvUSpkg:maven/org.springframework.security/spring-security-bom
- Maven org.springframework.security:spring-security-bom5.3.0 → 5.3.8osvUSpkg:maven/org.springframework.security/spring-security-bom
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1375JFrog Artifactory: Mehrere SchwachstellenDeutsch2022-09-11csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in JFrog Artifactory ausnutzen, um seine Privilegien zu erweitern, beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen und einen Denial-of-Service-Zustand auszulösen.
- GHSA-gq28-h5vg-8prxPrivilege escalation in spring security2021-05-10ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (56)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/02/19/7cnnvd
- https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r2cb05e499807900ba23e539643eead9c5f0652fd271f223f89da1804@%3Cpluto-scm.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r37423ec7eea340e92a409452c35b649dce02fdc467f0b3f52086c177@%3Cpluto-dev.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r413e380088c427f56102968df89ef2f336473e1b56b7d4b3a571a378@%3Cpluto-dev.portals.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3Ecnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan