MEDIUM5.4
GHSA-rpj2-w6fr-79hc
Keycloak vulnerable to Improper Certificate Validation
Quick fix
GHSA-rpj2-w6fr-79hc — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>14.0.0</version> for org.keycloak:keycloak-coreDetails
keycloak accepts an expired certificate by the direct-grant authenticator because of missing time stamp validations. The highest threat from this vulnerability is to data confidentiality and integrity.
This issue was partially fixed in version [13.0.1](https://github.com/keycloak/keycloak/pull/6330) and more completely fixed in version [14.0.0](https://github.com/keycloak/keycloak/pull/8067).
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-core
Introduced in:
0Fixed in: 14.0.0Fix
# pom.xml: bump <version>14.0.0</version> for org.keycloak:keycloak-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-35509[ADVISORY]
- https://github.com/keycloak/keycloak/pull/6330[WEB]
- https://github.com/keycloak/keycloak/pull/8067[WEB]
- https://github.com/keycloak/keycloak/commit/478319348bdfdb9b6d39122f41edf2af79f679bb[WEB]
- https://access.redhat.com/security/cve/cve-2020-35509[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1912427[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]
- https://github.com/keycloak/keycloak/blob/4f330f4a57cbfcf6202b60546518261c66e59a35/services/src/main/java/org/keycloak/authentication/authenticators/x509/ValidateX509CertificateUsername.java#L74-L76[WEB]