CVE-2021-22119
HIGH 7.5CVSS 3.1Resource Exhaustion in 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 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.
- Published
- 29 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-863
- Also known as
- GHSA-w9jg-gvgr-354m
- Sources
- NVDJSONOSV GHSA-w9jg-gvgr-354mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.11 | 5.2.11 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.10 | 5.3.10 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.4.0, < 5.4.7 | 5.4.7 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.5.0, < 5.5.1 | 5.5.1 |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.5.0, < 5.5.1 | 5.5.1 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.4.0, < 5.4.7 | 5.4.7 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.3.0, < 5.3.10 | 5.3.10 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.2.0, < 5.2.11 | 5.2.11 |
| OSV | Maven | org.springframework.security:spring-security-oauth2-client | >= 5.5.0, < 5.5.1 | 5.5.1 |
| OSV | Maven | org.springframework.security:spring-security-oauth2-client | >= 5.4.0, < 5.4.7 | 5.4.7 |
| OSV | Maven | org.springframework.security:spring-security-oauth2-client | >= 5.3.0, < 5.3.10 | 5.3.10 |
| OSV | Maven | org.springframework.security:spring-security-oauth2-client | >= 5.2.0, < 5.2.11 | 5.2.11 |
References
- https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3E
- https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E
- https://tanzu.vmware.com/security/cve-2021-22119 · Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22119 · ADVISORY
- https://github.com/spring-projects/spring-security/pull/9513 · WEB
- https://github.com/spring-projects/spring-security · PACKAGE
- https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad@%3Cissues.nifi.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E · WEB
- https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Jun 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Jul 2021)