title: CVE-2024-22258: PKCE Downgrade in Spring Authorization Server
description: 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:
{
defaultStatus: affected
packageName: Spring Authorization Server
product: Spring
vendor: Spring
versions:
lessThan: 1.0.6, status: affected, version: 1.0.x, versionType: enterprise support only
lessThan: 1.1.6, status: affected, version: 1.1.x, versionType: oss
lessThan: 1.2.3, status: affected, version: 1.2.x	, versionType: oss
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.1
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL