{"id":"CVE-2024-22258","published":"2024-03-20T03:58:13Z","modified":"2024-12-05T20:31:25Z","title":"CVE-2024-22258: PKCE Downgrade in Spring Authorization Server","vendor":"Spring","product":"Spring","tier":"tail","description":{"text":"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.\n\nSpecifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant.\n\nAn application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.45207,"provenance":"source"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"references":[{"url":"https://spring.io/security/cve-2024-22258","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":9.04},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring","versions":[">= 1.0.x, < 1.0.6",">= 1.1.x, < 1.1.6",">= 1.2.x, < 1.2.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-02T19:20:26.714356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-authorization-server","vulnerableRanges":["<1.1.6",">=1.2.0, <1.2.3"],"patched":["1.1.6","1.2.3"],"from":["GHSA-x637-x8p3-5p22"],"provenance":"source"}],"summary":{"text":"The flaw is a PKCE downgrade weakness in the Spring Authorization Server component of the Spring product, affecting versions 1.0.0 through 1.0.5, 1.1.0 through 1.1.5, 1.2.0 through 1.2.2, and older unsupported versions, specifically for confidential clients using PKCE with the Authorization Code grant. An attacker can exploit this over the network with low complexity and no privileges, but it requires user interaction, and the application must be a confidential client using PKCE for the Authorization Code grant (applications using public clients with PKCE are not affected).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:16Z"},"euvd":{"id":"EUVD-2024-1035","exploited":false,"provenance":"source"}}