GitHub Advisory Database
GHSA-46c8-635v-68r2
Keycloak Authorization Bypass vulnerability
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 22.0.10 (fixed in 22.0.10) |
| Maven | org.keycloak:keycloak-services | From 23.0.0 before 24.0.3 (fixed in 24.0.3) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-46c8-635v-68r2
- https://nvd.nist.gov/vuln/detail/CVE-2023-6544
- https://access.redhat.com/errata/RHSA-2024:1860
- https://access.redhat.com/errata/RHSA-2024:1861
- https://access.redhat.com/errata/RHSA-2024:1862
- https://access.redhat.com/errata/RHSA-2024:1864
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/security/cve/CVE-2023-6544
- https://bugzilla.redhat.com/show_bug.cgi?id=2253116
- https://github.com/keycloak/keycloak