CVE-2024-22258 CVE-2024-22258: PKCE Downgrade in Spring Authorization Server
MediumCVSS 6.1
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
10 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/spring(Ubuntu 16.04) | = 100.0+dfsg-2; = 100.0+dfsg-2build1; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 18.04) | = 103.0+dfsg2-1; = 103.0+dfsg2-1build1; = 104.0+dfsg-2; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 20.04) | = 104.0+dfsg-3build2; = 104.0+dfsg-4ubuntu1; = 104.0+dfsg-4ubuntu2; = 104.0+dfsg-4ubuntu5 +3 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 22.04) | = 105.0.1+dfsg-2; = 105.0.1+dfsg-3ubuntu1; = 105.0.1+dfsg-3ubuntu2; = 105.0.1+dfsg-4 +1 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 24.04) | = 106.0+dfsg-2; = 106.0+dfsg-3; = 106.0+dfsg-3build2; = 106.0+dfsg-3build3 +1 more | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 25.10) | = 106.0+dfsg-4; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 26.04) | = 106.0+dfsg-4; All versions | No fix listed | No fix yet |
| ubuntu/spring(Ubuntu 26.10) | = 106.0+dfsg-4; = 106.0+dfsg-5; All versions | No fix listed | No fix yet |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | < 1.1.6; = 0.2.0; = 0.2.1; = 0.2.2 +24 more | 1.1.6, 1.2.3 | Fixed |
| Spring | >= 1.0.x, < 1.0.6; >= 1.1.x, < 1.1.6; >= 1.2.x, < 1.2.3 | 1.0.6, 1.1.6, 1.2.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | < 1.1.6 | 1.1.6 |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.2.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.2.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.2.2 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.2.3 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.3.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.3.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.2 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.3 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.4 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 0.4.5 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.0.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.0.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.0.2 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.0.3 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.0.4 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.2 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.3 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.4 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.1.5 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | >= 1.2.0, < 1.2.3 | 1.2.3 |
Show 37 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.2.0 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.2.1 | No fix listed |
| org.springframework.security/spring-security-oauth2-authorization-server(Maven) | = 1.2.2 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | All versions | No fix listed |
| Spring | >= 1.0.x, < 1.0.6 | 1.0.6 |
| Spring | >= 1.1.x, < 1.1.6 | 1.1.6 |
| Spring | >= 1.2.x, < 1.2.3 | 1.2.3 |
| ubuntu/spring(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | = 100.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:16.04) | = 100.0+dfsg-2build1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 103.0+dfsg2-1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 103.0+dfsg2-1build1 | No fix listed |
| ubuntu/spring(Ubuntu:18.04) | = 104.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-3build2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu1 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu2 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu5 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu6 | No fix listed |
| ubuntu/spring(Ubuntu:20.04) | = 104.0+dfsg-4ubuntu7 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-3ubuntu1 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-3ubuntu2 | No fix listed |
| ubuntu/spring(Ubuntu:22.04) | = 105.0.1+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-2 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3build2 | No fix listed |
| ubuntu/spring(Ubuntu:24.04) | = 106.0+dfsg-3build3 | No fix listed |
| ubuntu/spring(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/spring(Ubuntu:25.10) | = 106.0+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | = 106.0+dfsg-4 | No fix listed |
| ubuntu/spring(Ubuntu:26.10) | = 106.0+dfsg-5 | No fix listed |
| ubuntu/spring(Ubuntu:26.04) | = 106.0+dfsg-4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- spring.io issue-tracking
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking