CVE-2023-2585
Keycloak: client access via device auth request spoof
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.69% · top 47% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.5.
Weakness
Affected products
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.8-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.8-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.8-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-24 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-server-spi-privateGHSA-f5h4-wmp5-xhg6 (opens in a new tab)
- Mavenorg.keycloak:keycloak-servicesGHSA-f5h4-wmp5-xhg6 (opens in a new tab)
References (7)
- RHSA-2023:3883 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:3884 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:3885 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:3888 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:3892 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-2585 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2196335 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f5h4-wmp5-xhg6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-2585)Record last updated .