{"cve":"CVE-2023-2585","nvd":{"published":"2023-12-21T10:15:34.533","modified":"2026-06-17T05:52:54.277","status":"Modified","description":"Keycloak's device authorization grant does not correctly validate the device code and client ID. An attacker client could abuse the missing validation to spoof a client consent request and trick an authorization admin into granting consent to a malicious OAuth client or possible unauthorized access to an existing OAuth client.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-358"],"references":["https://access.redhat.com/errata/RHSA-2023:3883","https://access.redhat.com/errata/RHSA-2023:3884","https://access.redhat.com/errata/RHSA-2023:3885","https://access.redhat.com/errata/RHSA-2023:3888","https://access.redhat.com/errata/RHSA-2023:3892"],"products":["redhat:openshift_container_platform","redhat:openshift_container_platform_for_ibm_z","redhat:openshift_container_platform_for_linuxone","redhat:openshift_container_platform_for_power","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:42:34.585441961+00:00"},"epss":{"cve":"CVE-2023-2585","score":0.00694,"percentile":0.52947,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f5h4-wmp5-xhg6","url":"https://osv.dev/vulnerability/GHSA-f5h4-wmp5-xhg6","summary":"Client Spoofing within the Keycloak Device Authorisation Grant","modified":"2024-02-16T08:14:33.799348Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<21.1.2"],"fixed":["21.1.2"]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-server-spi-private","purl":"pkg:maven/org.keycloak/keycloak-server-spi-private","ranges":["<21.1.2"],"fixed":["21.1.2"]}]}],"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."]}