{"id":"CVE-2023-6544","published":"2024-04-25T15:58:47Z","modified":"2025-11-11T15:57:26Z","title":"Keycloak: authorization bypass","vendor":"Red Hat","product":"Red Hat build of Keycloak 22","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01075,"percentile":0.6578,"provenance":"source"},"cwes":[{"id":"CWE-625","name":"Permissive Regular Expression"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1860","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1861","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1862","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1864","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1866","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6544","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253116","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":13.16},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 22.0.0, < 22.0.10",">= 23.0.0, < 24.0.3"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","versions":["all versions"]}],"workarounds":{"items":["No mitigation is currently available for this flaw."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-25T19:19:09.097776Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<22.0.10",">=23.0.0, <24.0.3"],"patched":["22.0.10","24.0.3"],"from":["GHSA-46c8-635v-68r2"],"provenance":"source"}],"summary":{"text":"A permissive hardcoded regular expression in the Keycloak package of Red Hat build of Keycloak 22 lets hosts register dynamic clients they should not be able to register. An attacker with network access and low privileges who has enough knowledge of the environment can exploit this only when Dynamic Client Registration and TrustedDomain are configured, gaining access that was previously unauthorized.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:47Z"},"euvd":{"id":"EUVD-2024-1087","exploited":false,"provenance":"source"}}