CVE-2021-22119 json
Resource Exhaustion in Spring Security
published 2021-06-29 5 y ago modified 2026-06-17 4 mo ago also GHSA-w9jg-gvgr-354m , EUVD-2021-1497
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.0%
- EPSS 6.0% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework.security:spring-security-core 5.2.11, 5.3.10, 5.4.7, 5.5.1
- maven org.springframework.security:spring-security-oauth2-client 5.2.11, 5.3.10, 5.4.7, 5.5.1
- vmware spring_security 5.2.11, 5.3.10, 5.4.7, 5.5.1
- github.com/spring-projects/spring-security#9513 pull request
- oracle.com/security-alerts/cpujan2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-22119 updated cvss 7.5
spring-security: Denial-of-Service (DoS) attack via initiation of Authorization Request
-
Red Hat JBoss Fuse 6 spring-security-oauth2-client Red Hat JBoss Fuse Service Works 6 spring-security-core Red Hat OpenStack Platform 10 (Newton) opendaylightaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat Decision Manager 7 spring-security-core Red Hat Process Automation 7 spring-security-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.00% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-core | >=5.5.0, <5.5.1 >=5.4.0, <5.4.7 >=5.3.0, <5.3.10 >=5.2.0, <5.2.11 |
5.5.1 5.4.7 5.3.10 5.2.11 |
| maven | org.springframework.security:spring-security-oauth2-client | >=5.5.0, <5.5.1 >=5.4.0, <5.4.7 >=5.3.0, <5.3.10 >=5.2.0, <5.2.11 |
5.5.1 5.4.7 5.3.10 5.2.11 |
Affected products
- n/a Spring Security
Classification
- Weakness
- Technology feeds
References
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
github.com
/spring-projects/spring-security/pull/9513
web
-
tanzu.vmware.com
/security/cve-2021-22119
web, vendor-advisory
-
lists.apache.org
/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3E
mailing-list
-
oracle.com
/security-alerts/cpujul2022.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-22119
advisory
-
github.com
/spring-projects/spring-security
package
-
lists.apache.org
/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad@%3Cissues.nifi.apache.org%3E
web
-
lists.apache.org
/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E
web
Sources
- CVE List CVE-2021-22119
- GitHub Advisory GHSA-w9jg-gvgr-354m
- NVD CVE-2021-22119
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.