Home / Spring / Spring / CVE-2024-22258
CVE-2024-22258: is it exploited, and which versions of Spring are affected and fixed?
CVE-2024-22258 is an unsafe reflection vulnerability in Spring. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: org.springframework.security:spring-security-oauth2-authorization-server before 1.1.6 and org.springframework.security:spring-security-oauth2-authorization-server from 1.2.0 before 1.2.3 (GitHub advisory GHSA-x637-x8p3-5p22). Fixed in 1.1.6 and 1.2.3 (GitHub advisory GHSA-x637-x8p3-5p22). Severity: Medium (6.1, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-22258?
CVE-2024-22258: PKCE Downgrade in Spring Authorization Server
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.
From the CVE record by vmware, last updated December 5, 2024, 20:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Spring Authorization Server | from 1.0.x before 1.0.6 from 1.1.x before 1.1.6 from 1.2.x before 1.2.3 | 1.0.6, 1.1.6, 1.2.3 |
As the CVE record by vmware states it, last updated December 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-oauth2-authorization-server | < 1.1.6 | 1.1.6 | GHSA-x637-x8p3-5p22 |
| Maven | org.springframework.security:spring-security-oauth2-authorization-server | >= 1.2.0, < 1.2.3 | 1.2.3 | GHSA-x637-x8p3-5p22 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 5, 2024. Summary: Improper Authentication in Spring Authorization Server.
How severe is CVE-2024-22258?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-22258 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 2, 2024)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 8, 2024
- Published
- March 20, 2024, 03:58 UTC
- CVE record updated
- December 5, 2024, 20:31 UTC by vmware
- NVD
- Deferred, last modified June 17, 2026, 07:11 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring?
- Nov 18, 2024CVE-2024-38828 Spring: denial of service (uncontrolled resource consumption)
- Oct 28, 2024CVE-2024-38821 Spring: denial of service (resources allocated without limits)
- Sep 13, 2024CVE-2024-38816 Spring: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-22258
Is CVE-2024-22258 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring are affected by CVE-2024-22258?
org.springframework.security:spring-security-oauth2-authorization-server before 1.1.6 and org.springframework.security:spring-security-oauth2-authorization-server from 1.2.0 before 1.2.3, per the GitHub advisory GHSA-x637-x8p3-5p22. The tables above give every range the sources list.
Which version fixes CVE-2024-22258?
1.1.6 and 1.2.3, per the GitHub advisory GHSA-x637-x8p3-5p22. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-22258?
Medium (6.1, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2024-22258?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.