VDB
Sign up
MEDIUM6.5

GHSA-w3g8-r9gw-qrh8

Denial of Service in Keycloak Server via Security Headers

Quick fix

GHSA-w3g8-r9gw-qrh8 — org.keycloak:keycloak-quarkus-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.0.8</version> for org.keycloak:keycloak-quarkus-server

Details

A potential Denial of Service (DoS) vulnerability has been identified in Keycloak, which could allow an administrative user with the rights to change realm settings to disrupt the service. This is done by modifying any of the security headers and inserting newlines, which causes the Keycloak server to write to a request that is already terminated, leading to a failure of said request.

Service disruption may happen, users will be unable to access applications relying on Keycloak, or any of the consoles provided by Keycloak itself on the affected realm.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-quarkus-server
Introduced in: 0Fixed in: 26.0.8
Fix# pom.xml: bump <version>26.0.8</version> for org.keycloak:keycloak-quarkus-server

References