Skip to content
Fencer Vulns
medium 5.4

CVE-2020-35509 json

Keycloak vulnerable to Improper Certificate Validation

published 2022-08-23 4 y ago modified 2026-06-17 4 mo ago also GHSA-rpj2-w6fr-79hc , EUVD-2022-6620

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 29%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.keycloak:keycloak-core 14.0.0
  • rh-sso7-keycloak red hat single sign on 7 9.0.15-1.redhat_00002.1.el8sso
  • rh-sso7-keycloak-server red hat single sign on 7 9.0.15-1.redhat_00002.1.el8sso
  • rh-sso7-keycloak red hat single sign on 7 9.0.15-1.redhat_00002.1.el7sso
  • rh-sso7-keycloak-server red hat single sign on 7 9.0.15-1.redhat_00002.1.el7sso
  • rh-sso7-keycloak red hat single sign on 7 9.0.15-1.redhat_00002.1.el6sso
  • rh-sso7-keycloak-server red hat single sign on 7 9.0.15-1.redhat_00002.1.el6sso

red hat advisories RHSA-2021:3529RHSA-2021:3528RHSA-2021:3527

  • keycloak Arch Linux 14.0.0-1

arch linux advisories AVG-2084

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-35509 updated cvss 4.2

keycloak: X509 Direct Grant Auth does not verify certificate timestamp validity

  • Red Hat Single Sign-On 7.4 for RHEL 6 Server rh-sso7-keycloak 9.0.15-1.redhat_00002.1.el6sso, rh-sso7-keycloak-server 9.0.15-1.redhat_00002.1.el6sso
    fixed: vendor fix RHSA-2021:3527
  • Red Hat Single Sign-On 7.4 for RHEL 7 Server rh-sso7-keycloak 9.0.15-1.redhat_00002.1.el7sso, rh-sso7-keycloak-server 9.0.15-1.redhat_00002.1.el7sso
    fixed: vendor fix RHSA-2021:3528
  • Red Hat Single Sign-On 7.4 for RHEL 8 rh-sso7-keycloak 9.0.15-1.redhat_00002.1.el8sso, rh-sso7-keycloak-server 9.0.15-1.redhat_00002.1.el8sso
    fixed: vendor fix RHSA-2021:3529
  • Red Hat Single Sign-On 7.4.9
    fixed: vendor fix RHSA-2021:3534
  • Red Hat Decision Manager 7 keycloak keycloak Red Hat Fuse 7 keycloak keycloak Red Hat Integration Camel K 1 keycloak keycloak Red Hat OpenShift Application Runtimes keycloak keycloak Red Hat Process Automation 7 keycloak keycloak Red Hat support for Spring Boot keycloak keycloak
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
16 mo ago

Exploit prediction

0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-core
<14.0.0
14.0.0

Affected products

  • n/a keycloak

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.