CVE-2024-22258
MEDIUM 6.1CVSS 3.1Improper Authentication 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.
- Published
- 20 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-287CWE-470
- Also known as
- GHSA-x637-x8p3-5p22
- Sources
- NVDJSONOSV GHSA-x637-x8p3-5p22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.springframework.security:spring-security-oauth2-authorization-server | < 1.1.6 | 1.1.6 |
| OSV | Maven | org.springframework.security:spring-security-oauth2-authorization-server | >= 1.2.0, < 1.2.3 | 1.2.3 |
References
- https://spring.io/security/cve-2024-22258 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22258 · ADVISORY
- https://github.com/spring-projects/spring-authorization-server/commit/a7035d22bd2de6c24e7125623d38fb83d8f659a9 · WEB
- github.com/spring-projects/spring-authorization-server · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Mar 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2024)