Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Single Sign-On 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.8-1.redhat_00001.1.el7sso RHSA-2023:3885, RHSA-2023:3884, RHSA-2023:3883

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-server-spi-private < 21.1.2 21.1.2 GHSA-f5h4-wmp5-xhg6
Maven org.keycloak:keycloak-services < 21.1.2 21.1.2 GHSA-f5h4-wmp5-xhg6

Advisories 4

References