CVE-2020-35509 json
Keycloak vulnerable to Improper Certificate Validation
published 4y ago modified 4mo 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 30%
- 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
- github.com/keycloak/keycloak@4783193 commit
- github.com/keycloak/keycloak#6330 pull request
- github.com/keycloak/keycloak#8067 pull request
Is CVE-2020-35509 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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.el6ssofixed: 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.el7ssofixed: 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.el8ssofixed: vendor fix RHSA-2021:3529
-
Red Hat Single Sign-On 7.4.9fixed: 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 keycloaknot 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
- last yr.
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
References
-
github.com
/keycloak/keycloak/pull/6330
web
-
github.com
/keycloak/keycloak/pull/8067
web
-
github.com
/keycloak/keycloak/commit/478319348bdfdb9b6d39122f41edf2af79f679bb
web
-
access.redhat.com
/security/cve/cve-2020-35509
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35509
advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1912427
web
-
github.com
/keycloak/keycloak
package
-
github.com
/keycloak/keycloak/blob/4f330f4a57cbfcf6202b60546518261c66e59a35/services/src/main/java/org/keycloak/authentic
web
Sources
- CVE List CVE-2020-35509
- GitHub Advisory GHSA-rpj2-w6fr-79hc
- NVD CVE-2020-35509
Fencer Intel 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.