CVE-2023-2585

Keycloak: client access via device auth request spoof

HIGH
8.1
CVSS Score
Published: December 21, 2023 at 09:24 AM UTC
Updated: June 17, 2026 at 05:52 AM UTC
6 products affected across 1 vendorOpenShift Container PlatformSingle Sign onOpenShift Container Platform for Power

Using Red Hat Single Sign-On 7 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Single Sign-On 7 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.7%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
Vendor states this is fixed in 0:18.0.8-1.redhat_00001.1.el7sso (unaffected)
Vendor states this is fixed in 0:18.0.8-1.redhat_00001.1.el8sso (unaffected)
Vendor states this is fixed in 0:18.0.8-1.redhat_00001.1.el9sso (unaffected)
Vendor states this is fixed in 7.6.4 (unaffected)
redhat-enterprise-linux (environment)
All versions

References (7)

VDB Entryx_refsource_REDHATVendor Advisory
https://access.redhat.com/security/cve/CVE-2023-2585
Issue Trackingx_refsource_REDHATVendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2196335

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-358NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card