{"id":"CVE-2023-1664","published":"2023-05-26T00:00:00Z","modified":"2025-01-15T21:34:51Z","title":"A flaw was found in Keycloak","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00425,"percentile":0.37647,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0","tags":[]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.53},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"Keycloak","versions":["NA"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-15T21:33:57.839751Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":["<21.1.2"],"patched":["21.1.2"],"from":["GHSA-5cc8-pgp5-7mpm"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak's client certificate validation affects deployments that use a reverse proxy in front of Keycloak with the non-default \"Revalidate Client Certificate\" setting enabled but the proxy not validating certificates before forwarding them. An attacker with network access to the service and no authentication or user interaction can choose the certificate the server accepts, and if the KC_SPI_TRUSTSTORE_FILE_FILE variable is missing or misconfigured, any trust file may be accepted, which can expose consumer applications to integrity and confidentiality impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:02Z"},"euvd":{"id":"EUVD-2023-1697","exploited":false,"provenance":"source"}}