CVE-2024-22258: Improper Authentication in Spring Authorization Server
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.
Published Mar 20, 2024 · Updated Dec 5, 2024
Affected packages
org.springframework.security:spring-security-oauth2-authorization-server
- Ecosystem
- Maven
- Affected
- < 1.1.6
- Fixed in
- 1.1.6
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-oauth2-authorization-server
org.springframework.security:spring-security-oauth2-authorization-server
- Ecosystem
- Maven
- Affected
- >= 1.2.0, < 1.2.3
- Fixed in
- 1.2.3
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-oauth2-authorization-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
