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.
CVE-2023-2585
This low-severity CVE scores 3.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 71% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 3.5
- EG Score
- 3.5(medium)
- EPSS
- 48.6%
- KEV
- Not listed
Published
December 21, 2023
Last Modified
November 21, 2024
References (14)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:3883
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:3884
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:3885
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:3888
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:3892
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2023-2585
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2196335
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:3883
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:3884
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:3885
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:3888
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:3892
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/security/cve/CVE-2023-2585
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2196335
Patch Availability(5)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-sso7-keycloak | 2023-06-27 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el7sso | 2023-06-27 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el8sso | 2023-06-27 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el9sso | 2023-06-27 | redhat |
| redhat | rh-sso-7/sso76-openshift-rhel8:7.6-24 | 2023-06-27 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 1 ecosystem)
Maven(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.keycloak:keycloak-server-spi-private | 10.0.0 ... 9.0.3 (93 versions) | 21.1.2 | — |
| org.keycloak:keycloak-services | 1.0-alpha-1 ... 9.0.3 (153 versions) | 21.1.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(5)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Frequently asked(5)
What is CVE-2023-2585?
When was CVE-2023-2585 disclosed?
Is CVE-2023-2585 actively exploited?
What is the CVSS score of CVE-2023-2585?
How do I remediate CVE-2023-2585?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-2585
Is Your Infrastructure Affected by CVE-2023-2585?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.