Skip to content
Fencer Vulns
high 7.5

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

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) opendaylight
    affected: no fix planned “Out of support scope”
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat Decision Manager 7 spring-security-core Red Hat Process Automation 7 spring-security-core
    not 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
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-863 Incorrect Authorization
Technology feeds

References

Sources

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.