{"cve":"CVE-2024-22258","nvd":{"published":"2024-03-20T04:15:08.600","modified":"2026-06-17T07:11:02.923","status":"Deferred","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.\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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-470"],"references":["https://spring.io/security/cve-2024-22258","https://spring.io/security/cve-2024-22258"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2024-22258","score":0.00526,"percentile":0.44601,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x637-x8p3-5p22","url":"https://osv.dev/vulnerability/GHSA-x637-x8p3-5p22","summary":"Improper Authentication in Spring Authorization Server","modified":"2024-12-05T22:24:50.094223Z","packages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-oauth2-authorization-server","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-authorization-server","ranges":["<1.1.6"],"fixed":["1.1.6"]},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-oauth2-authorization-server","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-authorization-server","ranges":[">=1.2.0 <1.2.3"],"fixed":["1.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}