CVE-2020-35509
MEDIUM 5.4CVSS 3.1Keycloak vulnerable to Improper Certificate Validation
A flaw was found in keycloak affecting versions 11.0.3 and 12.0.0. An expired certificate would be accepted by the direct-grant authenticator because of missing time stamp validations. The highest threat from this vulnerability is to data confidentiality and integrity.
- Published
- 23 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-295
- Also known as
- GHSA-rpj2-w6fr-79hc
- Sources
- NVDJSONOSV GHSA-rpj2-w6fr-79hcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:11.0.3:*:*:*:*:*:*:* |
= 11.0.3 | |
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:12.0.0:*:*:*:*:*:*:* |
= 12.0.0 | |
| OSV | Maven | org.keycloak:keycloak-core | < 14.0.0 | 14.0.0 |
References
- https://access.redhat.com/security/cve/cve-2020-35509 · Vendor Advisory, WEB
- 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://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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Aug 2022)