GitHub Advisoryadvisory · Maven

GHSA-w9jg-gvgr-354m Resource Exhaustion in Spring Security

HIGH Published 2021-07-02 Modified 2022-03-30 Official page ↗
Aliases
CVE-2021-22119
Ecosystem
Maven
Packages
org.springframework.security:spring-security-core, org.springframework.security:spring-security-oauth2-client
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-863
Reviewed
2021-06-30

Affected packages

• Maven org.springframework.security:spring-security-core: >= 5.5.0, < 5.5.1 → fixed in 5.5.1 • Maven org.springframework.security:spring-security-core: >= 5.4.0, < 5.4.7 → fixed in 5.4.7 • Maven org.springframework.security:spring-security-core: >= 5.3.0, < 5.3.10 → fixed in 5.3.10 • Maven org.springframework.security:spring-security-core: >= 5.2.0, < 5.2.11 → fixed in 5.2.11 • Maven org.springframework.security:spring-security-oauth2-client: >= 5.5.0, < 5.5.1 → fixed in 5.5.1 • Maven org.springframework.security:spring-security-oauth2-client: >= 5.4.0, < 5.4.7 → fixed in 5.4.7 • Maven org.springframework.security:spring-security-oauth2-client: >= 5.3.0, < 5.3.10 → fixed in 5.3.10 • Maven org.springframework.security:spring-security-oauth2-client: >= 5.2.0, < 5.2.11 → fixed in 5.2.11

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.

Related

Alias · CVE (1)

  • CVE-2021-22119 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… vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-863 Incorrect Authorization weakness

References