CVE-2023-6544

Keycloak: authorization bypass

State
Published
Severity
5.4 Medium
Published
Apr 25, 2024
Updated
Nov 11, 2025
Reserved
Dec 6, 2023

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-625 Permissive Regular Expression

Affected Products

ProductVersions
org.keycloak:keycloak-services
  • 22.0.0 to before 22.0.10Affected
  • 23.0.0 to before 24.0.3Affected
Red Hat build of Keycloak 22Red Hat
  • 22.0.10-1 and laterNot affected
Red Hat build of Keycloak 22Red Hat
  • 22-13 and laterNot affected
Red Hat build of Keycloak 22Red Hat
  • 22-16 and laterNot affected
Red Hat build of Keycloak 22.0.10Red Hat
    Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
    • 0:18.0.13-1.redhat_00001.1.el7sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
    • 0:18.0.13-1.redhat_00001.1.el8sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
    • 0:18.0.13-1.redhat_00001.1.el9sso and laterNot affected
    RHEL-8 based Middleware ContainersRed Hat
    • 7.6-46 and laterNot affected
    RHSSO 7.6.8Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.