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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- RHSA-2024:1861 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.8 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2024:1862 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.8 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2024:1860 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.8 enhancement and security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 8, 2026
- WID-SEC-2024-0910 Red Hat Single Sign On: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jun 24, 2025
- WID-SEC-2024-0914 Red Hat Enterprise Linux (keycloak): Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 17, 2024
References
- RHSA-2024:1860 vendor-advisory
- RHSA-2024:1861 vendor-advisory
- RHSA-2024:1862 vendor-advisory
- RHSA-2024:1864 vendor-advisory
- RHSA-2024:1866 vendor-advisory
- RHSA-2024:1867 vendor-advisory
- RHSA-2024:1868 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-6544 vdb-entry
- RHBZ#2253116 issue-tracking