ID CVE-2021-22112
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:pivotal_software:spring_security:5.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:5.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:5.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
    cpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
CVSS
Base: 9.0 (as of 01-03-2021 - 21:16)
Impact:
Exploitability:
CWE NVD-CWE-noinfo
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:L/Au:S/C:C/I:C/A:C
Last major update 01-03-2021 - 21:16
Published 23-02-2021 - 19:15
Last modified 01-03-2021 - 21:16
Back to Top