Description
Spring Security versions 5.5.x prior to 5.5.1, 5.4.x prior to 5.4.7, 5.3.x prior to 5.3.10 and 5.2.x prior to 5.2.11 are susceptible to a Denial-of-Service (DoS) attack via the initiation of the Authorization Request in an OAuth 2.0 Client Web and WebFlux application. A malicious user or attacker can send multiple requests initiating the Authorization Request for the Authorization Code Grant, which has the potential of exhausting system resources using a single session or multiple sessions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Spring Security | Spring Security versions 5.5.x prior to 5.5.1, 5.4.x prior to 5.4.7, 5.3.x prior to 5.3.10 and 5.2.x prior to 5.2.11 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
mari6274/oauth-client-exploit ★ 1 · Nov 2, 2021
Applications that reproduce CVE-2021-22119
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | >= 5.5.0, < 5.5.1 | 5.5.1 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-core | >= 5.4.0, < 5.4.7 | 5.4.7 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-core | >= 5.3.0, < 5.3.10 | 5.3.10 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-core | >= 5.2.0, < 5.2.11 | 5.2.11 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-oauth2-client | >= 5.5.0, < 5.5.1 | 5.5.1 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-oauth2-client | >= 5.4.0, < 5.4.7 | 5.4.7 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-oauth2-client | >= 5.3.0, < 5.3.10 | 5.3.10 | GHSA-w9jg-gvgr-354m |
| Maven | org.springframework.security:spring-security-oauth2-client | >= 5.2.0, < 5.2.11 | 5.2.11 | GHSA-w9jg-gvgr-354m |
Advisories 3
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- WID-SEC-2022-0735 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 19, 2026
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
References
- https://tanzu.vmware.com/security/cve-2021-22119
- [portals-pluto-dev] 20210714 [jira] [Updated] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119 mailing-list
- [portals-pluto-dev] 20210714 [jira] [Reopened] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119 mailing-list
- [portals-pluto-dev] 20210714 [jira] [Closed] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119 mailing-list
- [portals-pluto-dev] 20210714 [jira] [Comment Edited] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119 mailing-list
- [portals-pluto-scm] 20210714 [portals-pluto] branch master updated: PLUTO-786 Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119 mailing-list
- [nifi-issues] 20210726 [jira] [Created] (NIFI-8948) Upgrade Spring Framework to 5.3.9 and Spring Security to 5.5.1 mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html