ADVISORIES

GitHub Advisory Database

GHSA-x637-x8p3-5p22

Improper Authentication in Spring Authorization Server

Moderate CVE-2024-22258

Details

Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients.

Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant.

An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-oauth2-authorization-server
All versions before 1.1.6 (fixed in 1.1.6)
Mavenorg.springframework.security:spring-security-oauth2-authorization-server
From 1.2.0 before 1.2.3 (fixed in 1.2.3)

References