LOW3.5
GHSA-f5h4-wmp5-xhg6
Client Spoofing within the Keycloak Device Authorisation Grant
Quick fix
GHSA-f5h4-wmp5-xhg6 — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 21.1.2Fix
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-servicesMaven/org.keycloak:keycloak-server-spi-private
Introduced in:
0Fixed in: 21.1.2Fix
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-server-spi-privateReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-2585[ADVISORY]
- 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://bugzilla.redhat.com/show_bug.cgi?id=2196335[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]