ADVISORIES

GitHub Advisory Database

GHSA-q8hq-4h99-fj7x

Keycloak TLS Client-Initiated Renegotiation Denial of Service

Details

Keycloak is vulnerable to a Denial of Service (DoS) attack due to the default JDK setting that permits Client-Initiated Renegotiation in TLS 1.2. An unauthenticated remote attacker can repeatedly initiate TLS renegotiation requests to exhaust server CPU resources, making the service unavailable. Immediate mitigation is available by setting the -Djdk.tls.rejectClientInitiatedRenegotiation=true Java system property in the Keycloak startup configuration.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-quarkus-dist
All versions before 26.0.16 (fixed in 26.0.16)
Mavenorg.keycloak:keycloak-quarkus-dist
From 26.1.0 before 26.2.10 (fixed in 26.2.10)
Mavenorg.keycloak:keycloak-quarkus-dist
From 26.3.0 before 26.4.1 (fixed in 26.4.1)

References