Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-core
  4. ›
  5. CVE-2020-35509

CVE-2020-35509: Keycloak vulnerable to Improper Certificate Validation

August 24, 2022 (updated June 30, 2025)

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 and more completely fixed in version 14.0.0.

References

  • access.redhat.com/security/cve/cve-2020-35509
  • bugzilla.redhat.com/show_bug.cgi?id=1912427
  • github.com/advisories/GHSA-rpj2-w6fr-79hc
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/blob/4f330f4a57cbfcf6202b60546518261c66e59a35/services/src/main/java/org/keycloak/authentication/authenticators/x509/ValidateX509CertificateUsername.java
  • github.com/keycloak/keycloak/commit/478319348bdfdb9b6d39122f41edf2af79f679bb
  • github.com/keycloak/keycloak/pull/6330
  • github.com/keycloak/keycloak/pull/8067
  • nvd.nist.gov/vuln/detail/CVE-2020-35509

Code Behaviors & Features

Detect and mitigate CVE-2020-35509 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.0.0

Fixed versions

  • 14.0.0

Solution

Upgrade to version 14.0.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.keycloak/keycloak-core/CVE-2020-35509.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 01 Sep 2025 12:18:36 +0000.