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-coreDetails
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.2Fix
# pom.xml: bump <version>21.1.2</version> for org.keycloak:keycloak-coreReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5cc8-pgp5-7mpm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-1664[ADVISORY]
- https://access.redhat.com/security/cve/CVE-2023-1664[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]