WaratekVRT Sign in

CVE-2023-2585

Affected software5 products, listed below
Severity8.1 High CVSS 3.1 2 scores
Fixed in21.1.2
WeaknessCWE-358
Published21 Dec 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.69% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak 04e6244.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2196335 : a Red Hat bug: the triage, which links onward to the fix

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N NVD Primary published
CVSS 3.1 3.5 LOW CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N secalert@redhat.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 21.1.2 unbounded
org.keycloak:keycloak-server-spi-private 0 21.1.2 unbounded

Products and versions

7 products, 12 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-server-spi-private generic < 21.1.2
osv org.keycloak keycloak-services generic < 21.1.2
nvd redhat openshift container platform generic 4.11 · 4.12
nvd redhat openshift container platform for ibm z generic 4.9 · 4.10
nvd redhat openshift container platform for linuxone generic 4.9 · 4.10
nvd redhat openshift container platform for power generic 4.9 · 4.10
nvd redhat single sign-on generic any version · 7.6

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2196335 bugzilla
https://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6 WEB
https://github.com/keycloak/keycloak/commit/04e6244c387a1bde86184635a0049537611e3915 WEB
https://access.redhat.com/errata/RHSA-2023:3883 WEB
https://access.redhat.com/errata/RHSA-2023:3884 WEB
https://access.redhat.com/errata/RHSA-2023:3885 WEB
https://access.redhat.com/errata/RHSA-2023:3888 WEB
https://access.redhat.com/errata/RHSA-2023:3892 WEB
https://access.redhat.com/security/cve/CVE-2023-2585 WEB
https://github.com/keycloak/keycloak PACKAGE

Timeline

Published2023-12-21By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.