CVE-2021-22119
JSON

7.5high

Resource Exhaustion in Spring Security

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
6.00% (higher than 93% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-w9jg-gvgr-354m

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

Product or packageVersionsReported by
Spring SecuritySpring 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.11CVE List
org.springframework.security:spring-security-core (Maven)from 5.5.0 before 5.5.1, from 5.4.0 before 5.4.7, from 5.3.0 before 5.3.10, from 5.2.0 before 5.2.11GitHub Advisory Database
org.springframework.security:spring-security-oauth2-client (Maven)from 5.5.0 before 5.5.1, from 5.4.0 before 5.4.7, from 5.3.0 before 5.3.10, from 5.2.0 before 5.2.11GitHub Advisory Database
vmware spring_securityfrom 5.2.0 before 5.2.11, from 5.3.0 before 5.3.10, from 5.4.0 before 5.4.7, from 5.5.0 before 5.5.1NVD
oracle communications_cloud_native_core_policy1.14.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Spring Security versiones 5.5.x anteriores a 5.5.1, versiones 5.4.x anteriores a 5.4.7, versiones 5.3.x anteriores a 5.3.10 y versiones 5.2.x anteriores a 5.2.11 son susceptibles a un ataque de Denegación de Servicio (DoS) por medio de la iniciación de la Petición de Autorización en una Aplicación OAuth versión 2.0 Client Web y WebFlux. Un usuario o atacante malicioso puede enviar múltiples peticiones iniciando la Petición de Autorización para la Concesión del Código de Autorización, lo que tiene el potencial de agotar los recursos del sistema usando una sola sesión o múltiples sesiones

References

https://tanzu.vmware.com/security/cve-2021-22119vendor-advisory, web
https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3Emailing-list
https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3Emailing-list
https://www.oracle.com/security-alerts/cpujan2022.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmlweb
https://nvd.nist.gov/vuln/detail/CVE-2021-22119advisory
https://github.com/spring-projects/spring-security/pull/9513web
https://github.com/spring-projects/spring-securitypackage

Sources

SourceRecordLicence
CVE ListCVE-2021-22119 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-w9jg-gvgr-354m changed 2023-11-08CC-BY-4.0
NVDCVE-2021-22119 changed 2026-06-17Public domain