PT-2024-19292 · Spring · Spring Authorization Server

·

CVE-2024-22258

·

Published

2024-03-19

·

Updated

2026-07-29

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Spring Authorization Server versions 1.0.0 through 1.0.5 Spring Authorization Server versions 1.1.0 through 1.1.5 Spring Authorization Server versions 1.2.0 through 1.2.2 Spring Authorization Server older unsupported versions
Description The issue concerns a PKCE Downgrade Attack for Confidential Clients. An application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant. However, an application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.
Recommendations For Spring Authorization Server versions 1.0.0 through 1.0.5, consider disabling the use of PKCE for the Authorization Code Grant by Confidential Clients until a patch is available. For Spring Authorization Server versions 1.1.0 through 1.1.5, consider disabling the use of PKCE for the Authorization Code Grant by Confidential Clients until a patch is available. For Spring Authorization Server versions 1.2.0 through 1.2.2, consider disabling the use of PKCE for the Authorization Code Grant by Confidential Clients until a patch is available. For Spring Authorization Server older unsupported versions, consider upgrading to a supported version and then disabling the use of PKCE for the Authorization Code Grant by Confidential Clients until a patch is available.

Fix

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-22258
GHSA-X637-X8P3-5P22

Affected Products

Spring Authorization Server