Skip to content
OpenAdvisories

Description

A flaw was found in the Keycloak package. This issue occurs due to a permissive regular expression hardcoded for filtering which allows hosts to register a dynamic client. A malicious user with enough information about the environment could jeopardize an environment with this specific Dynamic Client Registration and TrustedDomain configuration previously unauthorized.

Affected products

VendorProductAffectedFixed
— org.keycloak:keycloak-services 22.0.0 – < 22.0.10, 23.0.0 – < 24.0.3 22.0.10
Red Hat Red Hat build of Keycloak 22 — —
Red Hat Red Hat build of Keycloak 22.0.10 — —
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 — —
Red Hat RHSSO 7.6.8 — —

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.13-1.redhat_00001.1.el7sso RHSA-2024:1862, RHSA-2024:1861, RHSA-2024:1860

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 22.0.10 22.0.10 GHSA-46c8-635v-68r2
Maven org.keycloak:keycloak-services >= 23.0.0, < 24.0.3 24.0.3 GHSA-46c8-635v-68r2

Advisories 5

References