CVE-2023-6544
Keycloak: authorization bypass
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
Affected products
org.keycloak:keycloak-services
- affected 22.0.0 – < 22.0.10
- affected 23.0.0 – < 24.0.3
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.10-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-13 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-16 – < *
Red Hat · Red Hat build of Keycloak 22.0.10
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.13-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.13-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.13-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-46 – < *
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-46c8-635v-68r2 (opens in a new tab)
What to do
Workaround: No mitigation is currently available for this flaw.
References (9)
- RHSA-2024:1860 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1861 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1862 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1864 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1866 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1867 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:1868 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6544 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2253116 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-46c8-635v-68r2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-6544)Record last updated .