What’s Vulnerable › Vulnerabilities
CVE-2023-1664
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-05-26 · updated 2026-06-17
- Weakness: CWE-295
Description
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.
Affected products
- Red Hat build of Quarkus: all versions
- RedHat Jboss A-Mq: 7
- Keycloak: all versions
- Red Hat Migration Toolkit for Runtimes: all versions
- Red Hat Single Sign-On: 7.0
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0
- https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0
Get alerted when CVE-2023-1664 or the next vulnerability affects your stack