CVE-2024-22258
| Severity | 6.1 Medium CVSS 3.1 |
|---|---|
| Fixed in | 1.1.6, 1.2.3 |
| Weakness | Unsafe reflection (CWE-470) |
| Published | 20 Mar 2024 |
| Updated | 17 Jun 2026 |
Description
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-287 · Improper authentication
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 2 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.53% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: spring-projects/spring-authorization-server a7035d2.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory |
|---|---|
| Finding | This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain. |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-oauth2-authorization-server |
0 | 1.1.6 |
unbounded |
org.springframework.security:spring-security-oauth2-authorization-server |
1.2.0 | 1.2.3 |
unbounded |
Products and versions
1 product, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.security | spring-security-oauth2-authorization-server | generic | < 1.1.6 · ≥ 1.2.0 and < 1.2.3 |
References
| URL | Tags |
|---|---|
| https://github.com/spring-projects/spring-authorization-server/commit/a7035d22bd2de6c24e7125623d38fb83d8f659a9 | WEB |
| https://spring.io/security/cve-2024-22258 | WEB |
| github.com/spring-projects/spring-authorization-server | PACKAGE |
Timeline
Timeline
| Published | 2024-03-20 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |