First published: Tue Feb 23 2021(Updated: )
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.
Credit: security@vmware.com
Affected Software | Affected Version | How to fix |
---|---|---|
Pivotal Software Spring Security | <5.2.9 | |
Pivotal Software Spring Security | >=5.3.0<5.3.8 | |
Vmware Spring Security | >=5.4.0<5.4.4 | |
Oracle Communications Element Manager | >=8.2.0<=8.2.4.0 | |
Oracle Communications Interactive Session Recorder | =6.3 | |
Oracle Communications Interactive Session Recorder | =6.4 | |
Oracle Communications Unified Inventory Management | =7.4.1 | |
Oracle Hospitality Cruise Shipboard Property Management System | =20.1.0 | |
Oracle Insurance Policy Administration | =11.2.0 | |
Oracle Insurance Policy Administration | =11.3.0 | |
Oracle Mysql Enterprise Monitor | <=8.0.25 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2021-22112.
The severity of CVE-2021-22112 is critical.
Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, and 5.2.x prior to 5.2.9.RELEASE are affected.
The SecurityContext can be saved using the `SecurityContextHolder.setContext()` method.
To fix CVE-2021-22112, upgrade to Spring Security 5.4.4, 5.3.8.RELEASE, or 5.2.9.RELEASE.