Advisory details:
gitlab / maven/org.springframework.security/spring-security-web/CVE-2021-22112
| Advisory ID | gitlab/maven/org.springframework.security/spring-security-web/CVE-2021-22112 |
| Aliases |
CVE-2021-22112
GHSA-gq28-h5vg-8prx |
| Summary | Privilege escalation in spring security Spring Security 5.4.x to 5.4.3, 5.3.x to 5.3.8.RELEASE, 5.2.x to 5.2.8.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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 0.0 |
| Risk | |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/spring-projects/spring-security/releases/tag/5.4.4 | ||
| CVE-2021-22112 | https://nvd.nist.gov/vuln/detail/CVE-2021-22112 | |
| CVE-2021-22112 | https://tanzu.vmware.com/security/cve-2021-22112 | |
| GHSA-gq28-h5vg-8prx | https://github.com/advisories/GHSA-gq28-h5vg-8prx |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Exploitability (E) | Access Vector (AV) | Access Complexity (AC) | Authentication (Au) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|
high functional unproven proof_of_concept not_defined |
local adjacent_network network |
high medium low |
multiple single none |
none partial complete |
none partial complete |
none partial complete |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
There are no SSVC decisions available.