Improper input validation in keycloak
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | 11.0.3, 12.0.0 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-core (Maven) | before 14.0.0 | 14.0.0 | Patch available | GHSA-rpj2-w6fr-79hc |
- keycloak Vendor— Affected 11.0.3, 12.0.0 Fixed in — No fix listed CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected before 14.0.0 Fixed in 14.0.0 Patch available GHSA-rpj2-w6fr-79hc
Remediation
- Fix · GHSA-rpj2-w6fr-79hc org.keycloak:keycloak-core (Maven) Fixed in 14.0.0 Advisory →
Red Hat 4 advisories
- RHSA-2021:3534 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update
- Red Hat Single Sign-On 7.4.9
- RHSA-2021:3527 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 6
- 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
- RHSA-2021:3529 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 8
- 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
Show 1 more Red Hat advisories
- RHSA-2021:3528 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 7
- 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
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7.4 for RHEL 6 Server | Fixed | RHSA-2021:3527 |
| Red Hat Single Sign-On 7.4 for RHEL 7 Server | Fixed | RHSA-2021:3528 |
| Red Hat Single Sign-On 7.4 for RHEL 8 | Fixed | RHSA-2021:3529 |
| Red Hat Single Sign-On 7.4.9 | Fixed | RHSA-2021:3534 |
Not affected: 6 products
- Red Hat Decision Manager 7
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
- Red Hat OpenShift Application Runtimes
- Red Hat Process Automation 7
- Red Hat support for Spring Boot
Timeline
- 2026-10-02 Threatist record created from CVE-2020-35509
- 2026-10-03 Alias added: GHSA-rpj2-w6fr-79hc
References
Advisory 2
Other 6
- https://github.com/keycloak/keycloak/pull/6330
- https://github.com/keycloak/keycloak/pull/8067
- https://github.com/keycloak/keycloak/commit/478319348bdfdb9b6d39122f41edf2af79f679bb
- https://bugzilla.redhat.com/show_bug.cgi?id=1912427
- https://github.com/keycloak/keycloak
- https://github.com/keycloak/keycloak/blob/4f330f4a57cbfcf6202b60546518261c66e59a35/services/src/main/java/org/keycloak/authentication/authenticators/x509/ValidateX509CertificateUsername.java#L74-L76
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2020-35509 · CVE Program
- CVE-2020-35509 · NVD
- FIRST EPSS
- GHSA-rpj2-w6fr-79hc · GitHub Advisory Database · CC BY 4.0
- CVE-2020-35509 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences