CVE-2024-22258
CVE-2024-22258: PKCE Downgrade in Spring Authorization Server
Reported by vmware · Published March 20, 2024
spring-security-oauth2-authorization-server is fixed in 1.2.3 and 1.1.6 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-oauth2-authorization-server | Maven Central | 1.2.3, 1.1.6 |
| Spring Authorization Server | Spring | 1.2.3, 1.1.6, 1.0.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring | 1.0.x, 1.1.x, 1.2.x |
| Spring | Spring | 1.0.x, 1.1.x, 1.2.x |
| Maven | org.springframework.security:spring-security-oauth2-authorization-server | 0, 1.2.0 |
Timeline
- Mar 20, 2024 CVE Published
- Mar 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Dec 5, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-22258
vulnetix vdb fixes CVE-2024-22258
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-22258/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart