VDB
Sign up
MEDIUM5.3

GHSA-xv6h-r36f-3gp5

Keycloak: Denial of Service due to excessive SAMLRequest decompression

Quick fix

GHSA-xv6h-r36f-3gp5 — org.keycloak:keycloak-saml-adapter-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.5.4</version> for org.keycloak:keycloak-saml-adapter-core

Details

A flaw was found in Keycloak. An unauthenticated remote attacker can trigger an application level Denial of Service (DoS) by sending a highly compressed SAMLRequest through the SAML Redirect Binding. The server fails to enforce size limits during DEFLATE decompression, leading to an OutOfMemoryError (OOM) and subsequent process termination. This vulnerability allows an attacker to disrupt the availability of the service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-saml-adapter-core
Introduced in: 0Fixed in: 26.5.4
Fix# pom.xml: bump <version>26.5.4</version> for org.keycloak:keycloak-saml-adapter-core
Maven/org.keycloak:keycloak-saml-core
Introduced in: 0Fixed in: 26.5.4
Fix# pom.xml: bump <version>26.5.4</version> for org.keycloak:keycloak-saml-core
Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 26.5.4
Fix# pom.xml: bump <version>26.5.4</version> for org.keycloak:keycloak-services

References