CVE-2024-22258: Spring
Medium severity, CVSS 6.1. EPSS: 0.7% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Spring, from 1.0, before 1.0.6: fixed in 1.0.6
- Spring, from 1.1, before 1.1.6: fixed in 1.1.6
- Spring, from 1.2, before 1.2.3: fixed in 1.2.3
Affected products
- Spring Spring: from 1.0, before 1.0.6 (fixed in 1.0.6); from 1.1, before 1.1.6 (fixed in 1.1.6); from 1.2, before 1.2.3 (fixed in 1.2.3)
Affected packages
Published 2024-03-20. Last modified 2026-06-17.