VDB
Sign up
MEDIUM6.5

GHSA-5cc8-pgp5-7mpm

Keycloak Untrusted Certificate Validation vulnerability

Quick fix

GHSA-5cc8-pgp5-7mpm — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-core

Details

A flaw was found in keycloak-core. This flaw considers the scenario when using X509 Client Certificate Authenticatior with the option "Revalidate Client Certificate". A user may be able to choose, if directly connect to keycloak (not passing via reverse proxy) a specific certificate. If there's a configuration error in KC_SPI_TRUSTSTORE_FILE_FILE the authenticator allows even with the "Cannot validate client certificate trust: Truststore not available" message as there's no certificate to trust against.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References