VDB
KO
MEDIUM 4.9

GHSA-f6r7-6w34-x2gp

Keycloak Vulnerable to Improper Validation of Specified Quantity in Input

Details

A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.keycloak:keycloak-ldap-federation
Introduced in: 0 Fixed in: 26.6.3
Fix # pom.xml: bump <version>26.6.3</version> for org.keycloak:keycloak-ldap-federation

References