VDB

CVE-2024-22258

CVE-2024-22258 PUBLISHED CVSS 6.1 MEDIUM

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.

PackageEcosystemFixed in
org.springframework.security:spring-security-oauth2-authorization-serverMaven Central1.2.3, 1.1.6
Spring Authorization ServerSpring1.2.3, 1.1.6, 1.0.6

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
SpringSpring1.0.x, 1.1.x, 1.2.x
SpringSpring1.0.x, 1.1.x, 1.2.x
Mavenorg.springframework.security:spring-security-oauth2-authorization-server0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›