Skip to content
Fencer Vulns
medium 5.4

CVE-2023-6544 json

Keycloak: authorization bypass

published 2024-04-17 2 y ago modified 2026-09-10 1 mo ago also GHSA-46c8-635v-68r2 , EUVD-2024-1087

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 65%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.keycloak:keycloak-services 22.0.10, 24.0.3
  • Red Hat Red Hat build of Keycloak 22 22-13, 22-16, 22.0.10-1
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.13-1.redhat_00001.1.el7sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.13-1.redhat_00001.1.el8sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.13-1.redhat_00001.1.el9sso
  • Red Hat RHEL-8 based Middleware Containers 7.6-46
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso

red hat advisories RHSA-2024:1861RHSA-2024:1860RHSA-2024:1862

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-6544 updated cvss 5.4

keycloak: Authorization Bypass

  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-46
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1864
  • Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1867
  • Red Hat build of Keycloak 22.0.10
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1868
  • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el7sso
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1860
  • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el8sso
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1861
  • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el9sso
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1862
  • Red Hat RHSSO 7.6.8
    fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:1866

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-services
<22.0.10
>=23.0.0, <24.0.3
22.0.10
24.0.3

Affected products

  • 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

Classification

Weakness
  • CWE-625 Permissive Regular Expression

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.