low3.5
CVE-2023-2585
Client Spoofing within the Keycloak Device Authorisation Grant
Impact
Under certain pre-conditions the vulnerability allows an attacker to spoof parts of the device flow and use a device_code to retrieve an access token for other OAuth clients.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 21.1.2 | 21.1.2 |
| maven | org.keycloak:keycloak-server-spi-private | < 21.1.2 | 21.1.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Single Sign-On | All versions Version 7.6 |
| Redhat | Openshift Container Platform | Versions 4.11, 4.12 |
| Redhat | Openshift Container Platform For Ibm Z | Versions 4.9, 4.10 |
| Redhat | Openshift Container Platform For Linuxone | Versions 4.9, 4.10 |
| Redhat | Openshift Container Platform For Power | Versions 4.9, 4.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-f5h4-wmp5-xhg6
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6
- https://github.com/keycloak/keycloak/commit/04e6244c387a1bde86184635a0049537611e3915
- https://nvd.nist.gov/vuln/detail/CVE-2023-2585