WaratekVRT Sign in

CVE-2023-1664 Keycloak

Affected softwareKeycloak
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in21.1.2
WeaknessCWE-295
Published26 May 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.43% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

VRT has not found a public code change for this CVE yet.

  • Protection none
  • Action not pursued
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to No source fix or exploit.

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N NVD Primary published
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-core 0 21.1.2 unbounded

Products and versions

6 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-core generic < 21.1.2
nvd redhat build of quarkus generic any version
nvd redhat jboss a-mq generic 7
nvd redhat keycloak generic any version
nvd redhat migration toolkit for runtimes generic any version
nvd redhat single sign-on generic 7.0

References

URLTags
https://github.com/keycloak/keycloak/security/advisories/GHSA-5cc8-pgp5-7mpm WEB
https://access.redhat.com/security/cve/CVE-2023-1664 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2182196&comment#0 WEB
https://github.com/keycloak/keycloak PACKAGE

Timeline

Published2023-05-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.