CVE-2023-2585
HIGH 8.1CVSS 3.1Client Spoofing within the Keycloak Device Authorisation Grant
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.
- Published
- 21 Dec 2023
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-358
- Also known as
- GHSA-f5h4-wmp5-xhg6
- Sources
- NVDJSONOSV GHSA-f5h4-wmp5-xhg6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:* |
= 4.11 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:* |
= 4.12 | |
| NVD | redhat | openshift_container_platform_for_ibm_zcpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_ibm_zcpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | openshift_container_platform_for_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* |
(no version) | |
| OSV | Maven | org.keycloak:keycloak-services | < 21.1.2 | 21.1.2 |
| OSV | Maven | org.keycloak:keycloak-server-spi-private | < 21.1.2 | 21.1.2 |
References
- https://access.redhat.com/errata/RHSA-2023:3883 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:3884 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:3885 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:3888 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:3892 · Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2023-2585 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2196335 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-2585 · ADVISORY
- https://github.com/keycloak/keycloak/commit/04e6244c387a1bde86184635a0049537611e3915 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 21 Dec 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Jun 2023)