Loading HuntDB...

CVE-2021-22112

UNKNOWN
Published 2021-02-23T18:48:02
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2021-22112. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed HIGH

Privilege escalation in spring security

GHSA-gq28-h5vg-8prx

Advisory Details

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.

Affected Packages

Maven org.springframework.security:spring-security-bom
ECOSYSTEM: ≥5.4.0 <5.4.4
Maven org.springframework.security:spring-security-bom
ECOSYSTEM: ≥5.3.0 <5.3.8
Maven org.springframework.security:spring-security-bom
ECOSYSTEM: ≥0 <5.2.9
Maven org.springframework.security:spring-security-web
ECOSYSTEM: ≥5.4.0 <5.4.4
Maven org.springframework.security:spring-security-web
ECOSYSTEM: ≥5.3.0 <5.3.8
Maven org.springframework.security:spring-security-web
ECOSYSTEM: ≥0 <5.2.9

CVSS Scoring

CVSS Score

7.5

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Advisory provided by GitHub Security Advisory Database. Published: May 10, 2021, Modified: August 31, 2021

References

Published: 2021-02-23T18:48:02
Last Modified: 2024-08-03T18:30:24.008Z
Copied to clipboard!