CVE-2020-35509
MEDIUM5.4EPSS 0.09%Keycloak vulnerable to Improper Certificate Validation
Published: 8/24/2022Modified: 6/30/2025
Description
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).
Affected packages (1)
- Maven/org.keycloak:keycloak-corefrom 0, < 14.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-35509
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/security/cve/cve-2020-35509
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1912427
- WEBhttps://github.com/keycloak/keycloak/blob/4f330f4a57cbfcf6202b60546518261c66e59a35/services/src/main/java/org/keycloak/authentication/authenticators/x509/ValidateX509CertificateUsername.java#L74-L76
- WEBhttps://github.com/keycloak/keycloak/commit/478319348bdfdb9b6d39122f41edf2af79f679bb
- WEBhttps://github.com/keycloak/keycloak/pull/6330
- WEBhttps://github.com/keycloak/keycloak/pull/8067