What’s Vulnerable › Vulnerabilities
CVE-2024-22258: CVE-2024-22258: PKCE Downgrade in Spring Authorization Server
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-20 · updated 2026-06-17
- Weakness: CWE-470
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 products
- Spring: from 1.0.x before 1.0.6; from 1.1.x before 1.1.6; from 1.2.x before 1.2.3 — fixed in 1.0.6, 1.1.6, 1.2.3
How to fix
Upgrade to a fixed version: Spring 1.0.6, 1.1.6, 1.2.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-22258 or the next vulnerability affects your stack