Skip to content

CVE-2021-22112 Privilege escalation in spring security

HighCVSS 8.8 EPSS 3.3%
Published
Updated
Exploit status
No public exploit known
Technology
MySQL

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.

Upgrade path

10 packages: 6 fixed.

PackageAffectedFixed inStatus
oracle communications element manager >= 8.2.0, <= 8.2.4.0 after 8.2.4.0 Fixed
oracle mysql enterprise monitor <= 8.0.25 after 8.0.25 Fixed
org.springframework.security/spring-security-bom(Maven) < 5.2.9; = 3.2.0.RELEASE; = 3.2.1.RELEASE; = 3.2.2.RELEASE +97 more 5.2.9, 5.3.8, 5.4.4 Fixed
org.springframework.security/spring-security-web(Maven) < 5.2.9; = 3.0.0.RELEASE; = 3.0.1.RELEASE; = 3.0.2.RELEASE +114 more 5.2.9, 5.3.8, 5.4.4 Fixed
pivotal software spring security < 5.2.9; >= 5.3.0, < 5.3.8 5.2.9, 5.3.8 Fixed
VMware spring security >= 5.4.0, < 5.4.4 5.4.4 Fixed
oracle communications interactive session recorder = 6.3; = 6.4 No fix listed Versions listed
oracle communications unified inventory management = 7.4.1 No fix listed Versions listed
oracle hospitality cruise shipboard property management system = 20.1.0 No fix listed Versions listed
oracle insurance policy administration = 11.2.0; = 11.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.springframework.security/spring-security-web(Maven) < 5.2.9 5.2.9
org.springframework.security/spring-security-bom(Maven) >= 5.4.0, < 5.4.4 5.4.4
org.springframework.security/spring-security-bom(Maven) >= 5.3.0, < 5.3.8 5.3.8
org.springframework.security/spring-security-bom(Maven) < 5.2.9 5.2.9
org.springframework.security/spring-security-web(Maven) >= 5.4.0, < 5.4.4 5.4.4
org.springframework.security/spring-security-web(Maven) >= 5.3.0, < 5.3.8 5.3.8
org.springframework.security/spring-security-bom(Maven) = 5.4.0 No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.4.1 No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.4.2 No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.4.3 No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.3.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.10.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.5.RELEASE No fix listed
Show 175 more
ProductAffected versionsFixed in
org.springframework.security/spring-security-bom(Maven) = 3.2.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.8.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 3.2.9.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.0.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.0.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.0.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.0.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.0.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.1.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.10.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.11.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.12.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.13.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.14.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.15.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.16.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.17.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.18.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.19.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.20.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.8.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 4.2.9.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.10.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.11.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.12.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.13.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.14.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.15.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.16.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.17.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.18.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.19.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.8.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.0.9.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.10.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.11.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.12.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.13.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.8.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.1.9.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.0.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.1.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.2.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.3.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.4.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.5.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.6.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.7.RELEASE No fix listed
org.springframework.security/spring-security-bom(Maven) = 5.2.8.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.4.0 No fix listed
org.springframework.security/spring-security-web(Maven) = 5.4.1 No fix listed
org.springframework.security/spring-security-web(Maven) = 5.4.2 No fix listed
org.springframework.security/spring-security-web(Maven) = 5.4.3 No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.3.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.0.8.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.1.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.10.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.8.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 3.2.9.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.0.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.0.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.0.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.0.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.0.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.1.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.10.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.11.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.12.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.13.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.14.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.15.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.16.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.17.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.18.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.19.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.20.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.8.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 4.2.9.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.10.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.11.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.12.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.13.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.14.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.15.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.16.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.17.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.18.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.19.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.2.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.3.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.4.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.5.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.6.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.7.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.8.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.0.9.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.1.0.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.1.1.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.1.10.RELEASE No fix listed
org.springframework.security/spring-security-web(Maven) = 5.1.11.RELEASE No fix listed

References