{"cve":"CVE-2023-1664","nvd":{"published":"2023-05-26T18:15:09.740","modified":"2026-06-17T05:28:28.333","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5},"cwes":["CWE-295"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0","https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0"],"products":["redhat:build_of_quarkus","redhat:jboss_a-mq","redhat:keycloak","redhat:migration_toolkit_for_runtimes","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-1664","score":0.00425,"percentile":0.36797,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5cc8-pgp5-7mpm","url":"https://osv.dev/vulnerability/GHSA-5cc8-pgp5-7mpm","summary":"Keycloak Untrusted Certificate Validation vulnerability","modified":"2024-02-16T08:16:31.777071Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<21.1.2"],"fixed":["21.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}