ADVISORIES

GitHub Advisory Database

GHSA-w9jg-gvgr-354m

Resource Exhaustion in Spring Security

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
From 5.5.0 before 5.5.1 (fixed in 5.5.1)
Mavenorg.springframework.security:spring-security-core
From 5.4.0 before 5.4.7 (fixed in 5.4.7)
Mavenorg.springframework.security:spring-security-core
From 5.3.0 before 5.3.10 (fixed in 5.3.10)
Mavenorg.springframework.security:spring-security-core
From 5.2.0 before 5.2.11 (fixed in 5.2.11)
Mavenorg.springframework.security:spring-security-oauth2-client
From 5.5.0 before 5.5.1 (fixed in 5.5.1)
Mavenorg.springframework.security:spring-security-oauth2-client
From 5.4.0 before 5.4.7 (fixed in 5.4.7)
Mavenorg.springframework.security:spring-security-oauth2-client
From 5.3.0 before 5.3.10 (fixed in 5.3.10)
Mavenorg.springframework.security:spring-security-oauth2-client
From 5.2.0 before 5.2.11 (fixed in 5.2.11)

References