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.
Remediation
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
https://access.redhat.com/security/cve/CVE-2023-2585
https://bugzilla.redhat.com/show_bug.cgi?id=2196335
Related Vulnerabilities
CVE-2012-1574 Vulnerability in maven package org.apache.hadoop:hadoop-mapreduce-client-core
CVE-2023-46115 Vulnerability in npm package @tauri-apps/cli
CVE-2023-4853 Vulnerability in maven package io.quarkus:quarkus-vertx-http
CVE-2016-5016 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-common
CVE-2023-37912 Vulnerability in maven package org.xwiki.rendering:xwiki-rendering-macro-footnotes