CVEfocus › CVE database › CVE-2024-22258

CVE-2024-22258CVE-2024-22258: PKCE Downgrade in Spring Authorization Server

CVSS 6.1 MediumEPSS 0.7% (higher than 48% of CVEs)Published 2024-03-20Updated 2024-12-05Assigner: vmware

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.

CWE-470

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10springFix pendingUBUNTU-CVE-2024-22258
Ubuntu 26.04springUnder investigationUBUNTU-CVE-2024-22258
Ubuntu 25.10springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-22258
Ubuntu 24.04springUnder investigationUBUNTU-CVE-2024-22258
Ubuntu 22.04springUnder investigationUBUNTU-CVE-2024-22258
Ubuntu 20.04springWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-22258
Ubuntu 18.04springFix pendingUBUNTU-CVE-2024-22258
Ubuntu 16.04springFix pendingUBUNTU-CVE-2024-22258
Maven libraryorg.springframework.security:spring-security-oauth2-authorization-serverFixed1.2.3GHSA-x637-x8p3-5p22

What the vendor says

As published in the CVE record by vmware, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.