keycloak-services is vulnerable to Denial of Service (DoS)
68
CVE Score
Medium
Denial of Service (DoS)
A flaw was found in Keycloak. The Dynamic Client Registration (DCR) endpoint does not properly validate authorization when processing the deprecated defaultRoles field. An authenticated attacker with client creation privileges or an Initial Access Token (IAT) can inject excessive roles into the realm's default roles configuration. This causes clients across the realm to generate bloated access tokens, resulting in performance and memory degradation that can lead to a Denial of Service (DoS).
Upgrade org.keycloak:keycloak-services to the patched version. The fix installs a default-roles registration policy that blocks untrusted default-role changes.
You are affected if you use a vulnerable version of org.keycloak:keycloak-services and you allow client creation through Dynamic Client Registration and requests can include the deprecated defaultRoles field.
15.0.0 - 26.6.7
Fixed in 26.6.826.7.0 - 26.8.1
Fixed in 26.8.2keycloak-services is vulnerable to Denial of Service (DoS) in versions 15.0.0 - 26.6.7 and 26.7.0 - 26.8.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.