CVE-2023-2585
Java vulnerability analysis and mitigation

Overview

Keycloak's device authorization grant contains a vulnerability (CVE-2023-2585) related to incorrect validation of device code and client ID. The vulnerability was discovered and disclosed in May 2023, affecting Red Hat Single Sign-On 7.6 and various versions of Red Hat OpenShift Container Platform. This security issue impacts the authentication and authorization mechanisms of the affected systems (Red Hat CVE, NVD).

Technical details

The vulnerability stems from improper validation mechanisms in Keycloak's device authorization grant system, specifically in the validation of device code and client ID. The severity of this vulnerability has been rated as Important by Red Hat Product Security, with a CVSS v3.1 base score indicating Network accessibility (AV:N), Low attack complexity (AC:L), No privileges required (PR:N), and User interaction required (UI:R) (NVD).

Impact

The vulnerability could allow an attacker to spoof a client consent request and potentially trick an authorization administrator into granting consent to a malicious OAuth client. Additionally, it could lead to unauthorized access to existing OAuth clients, compromising the security of the authentication system (Red Hat Bugzilla).

Mitigation and workarounds

Red Hat has addressed this vulnerability through several security updates released on June 27, 2023. These updates include RHSA-2023:3883 for RHEL 7, RHSA-2023:3884 for RHEL 8, RHSA-2023:3885 for RHEL 9, RHSA-2023:3888 for OpenShift Container Platform, and RHSA-2023:3892 for Red Hat Single Sign-On (Red Hat Errata).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22244CRITICAL9.1
  • JavaJava
  • org.open-metadata:platform
NoYesJan 07, 2026
CVE-2025-66518HIGH8.8
  • JavaJava
  • org.apache.kyuubi:kyuubi-server_2.12
NoYesJan 05, 2026
CVE-2025-61916HIGH7.9
  • JavaJava
  • io.spinnaker.clouddriver:clouddriver-artifacts
NoYesJan 05, 2026
CVE-2025-68280MEDIUM6.5
  • JavaJava
  • org.apache.sis.core:sis-metadata
NoYesJan 05, 2026
CVE-2025-66560MEDIUM5.9
  • JavaJava
  • io.quarkus:quarkus-rest
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management