GitHub Advisory Database
GHSA-f5h4-wmp5-xhg6
Client Spoofing within the Keycloak Device Authorisation Grant
Details
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 versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 21.1.2 (fixed in 21.1.2) |
| Maven | org.keycloak:keycloak-server-spi-private | All versions before 21.1.2 (fixed in 21.1.2) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6
- https://nvd.nist.gov/vuln/detail/CVE-2023-2585
- https://github.com/keycloak/keycloak/commit/04e6244c387a1bde86184635a0049537611e3915
- 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/keycloak/keycloak