# CVE-2023-1664

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-26 · Modified: 2025-01-15
- Aliases: GHSA-5cc8-pgp5-7mpm
- Record: https://cvemate.com/vulnerability/CVE-2023-1664 · JSON: https://cvemate.com/vulnerability/CVE-2023-1664/json

## 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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.425%, percentile 38.719%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.keycloak keycloak-core (Maven): \< 21.1.2
- redhat build\_of\_quarkus: na
- redhat jboss\_a-mq: 7
- redhat keycloak: na
- redhat migration\_toolkit\_for\_runtimes: na
- redhat single\_sign-on: 7.0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-5cc8-pgp5-7mpm>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1664>
- <https://access.redhat.com/security/cve/CVE-2023-1664>
- <https://github.com/keycloak/keycloak>

---

Data as of 2026-12-05T07:16:16.386Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
