ADVISORIES

GitHub Advisory Database

GHSA-46c8-635v-68r2

Keycloak Authorization Bypass vulnerability

Moderate CVE-2023-6544

Details

Due to a permissive regular expression hardcoded for filtering allowed hosts to register a dynamic client, a malicious user with enough information about the environment could benefit and jeopardize an environment with this specific Dynamic Client Registration with TrustedDomain configuration previously unauthorized.

Acknowledgements:

Special thanks to Bastian Kanbach for reporting this issue and helping us improve our security.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 22.0.10 (fixed in 22.0.10)
Mavenorg.keycloak:keycloak-services
From 23.0.0 before 24.0.3 (fixed in 24.0.3)

References