Security mailing lists by PureSourceCode

CVE-2023-1664

MEDIUM 6.5CVSS 3.1

Keycloak Untrusted Certificate Validation vulnerability

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.

Published
26 May 2023
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-295
Also known as
GHSA-5cc8-pgp5-7mpm
Sources
NVDJSONOSV GHSA-5cc8-pgp5-7mpmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat build_of_quarkus
cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:*
(no version)
NVD redhat jboss_a-mq
cpe:2.3:a:redhat:jboss_a-mq:7:*:*:*:*:*:*:*
= 7
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
(no version)
NVD redhat migration_toolkit_for_runtimes
cpe:2.3:a:redhat:migration_toolkit_for_runtimes:-:*:*:*:*:*:*:*
(no version)
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
= 7.0
OSV Maven org.keycloak:keycloak-core < 21.1.2 21.1.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 May 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.