ADVISORIES

Vulnerability

CVE-2023-1664

A flaw was found in Keycloak. This flaw depends on a non-default configuration "Revalidate Client Certificate" to be enabled and the reverse proxy is not validating the certificate before Keycloak. Using this method an attacker may choose the certificate which will be validated by the server. If this happens and the KC_SPI_TRUSTSTORE_FILE_FILE variable is missing/misconfigured, any trustfile may be accepted with the logging information of "Cannot validate client certificate trust: Truststore not available". This may not impact availability as the attacker would have no access to the server, but consumer applications Integrity or Confidentiality may be impacted considering a possible access to them. Considering the environment is correctly set to use "Revalidate Client Certificate" this flaw is avoidable.

4 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Red Hat 3Maven 1

Advisories

  • GHSA-5cc8-pgp5-7mpm

    Keycloak Untrusted Certificate Validation vulnerability

    Moderate CVE-2023-1664 Maven Updated 16 February 2024
  • RHSA-2023:3883

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.4 security update on RHEL 7

    CVE-2022-4361CVE-2023-1108CVE-2023-1664CVE-2023-2422 Red Hat Updated 13 November 2026
  • RHSA-2023:3884

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.4 security update on RHEL 8

    CVE-2022-4361CVE-2023-1108CVE-2023-1664CVE-2023-2422 Red Hat Updated 13 November 2026
  • RHSA-2023:3885

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.4 security update on RHEL 9

    CVE-2022-4361CVE-2023-1108CVE-2023-1664CVE-2023-2422 Red Hat Updated 13 November 2026

References