Read the docs
TI-2023-01561 Aliases CVE-2023-1664GHSA-5cc8-pgp5-7mpm

Improper certificate validation in Keycloak

Priority LOW 35CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 6 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00425 37th percentileScored 2026-11-07
Fix Partial org.keycloak:keycloak-core (Maven): 21.1.2Red Hat: 6 advisoriesRed Hat: 6 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—KeycloakNA—No fix listedCNA
—org.keycloak:keycloak-core (Maven)before 21.1.221.1.2Patch availableGHSA-5cc8-pgp5-7mpm
  • Keycloak Vendor— Affected NA Fixed in — No fix listed CNA
  • org.keycloak:keycloak-core (Maven) Vendor— Affected before 21.1.2 Fixed in 21.1.2 Patch available GHSA-5cc8-pgp5-7mpm

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:a:redhat:jboss_a-mq:7:*:*:*:*:*:*:*7VulnerableRed Hat
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:a:redhat:migration_toolkit_for_runtimes:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:jboss_a-mq:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:migration_toolkit_for_runtimes:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-5cc8-pgp5-7mpm org.keycloak:keycloak-core (Maven) Fixed in 21.1.2 Advisory →

Red Hat 6 advisories

  • RHSA-2023:5491 Released 2023-10-05 · Red Hat rating Moderate
    Red Hat AMQ Broker 7.11.2 release and security update
    • AMQ Broker 7.11.2
  • RHSA-2023:3883 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 security update on RHEL 7
    • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.8-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.8-1.redhat_00001.1.el7sso
  • RHSA-2023:3892 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 security update
    • Red Hat Single Sign-On 7
Show 3 more Red Hat advisories
  • RHSA-2023:3884 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 security update on RHEL 8
    • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.8-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.8-1.redhat_00001.1.el8sso
  • RHSA-2023:3885 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 security update on RHEL 9
    • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.8-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.8-1.redhat_00001.1.el9sso
  • RHSA-2023:3888 Released 2023-06-27 · Red Hat rating Important
    Red Hat Single Sign-On 7.6.4 for OpenShift image security enhancement update
    • Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for RuntimesAffectedNo fix yet
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat build of Apicurio Registry 2AffectedNo fix yet: Fix deferred
Red Hat build of QuarkusAffectedNo fix yet: Fix deferred
AMQ Broker 7.11.2Fixed RHSA-2023:5491
Middleware Containers for OpenShiftFixed RHSA-2023:3888
Red Hat Single Sign-On 7Fixed RHSA-2023:3892
Red Hat Single Sign-On 7.6 for RHEL 7 ServerFixed RHSA-2023:3883
Red Hat Single Sign-On 7.6 for RHEL 8Fixed RHSA-2023:3884
Red Hat Single Sign-On 7.6 for RHEL 9Fixed RHSA-2023:3885
Not affected: 1 product
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-1664
  2. 2026-10-03 Alias added: GHSA-5cc8-pgp5-7mpm

References

  • TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
  • TI-2022-03763 Injection in quarkus CVSS 3.1CRITICAL 9.8
  • TI-2023-05869 Quarkus: graphql operations over websockets bypass CVSS 3.1CRITICAL 9.1
  • TI-2023-04469 Quarkus: http security policy bypass CVSS 3.1HIGH 8.1
  • TI-2022-04106 Server-side request forgery in undertow CVSS 3.1HIGH 7.5
  • TI-2023-02786 Quarkus-core: tls protocol configured with quarkus.http.ssl.protocols is not enforced… CVSS 3.1HIGH 8.1
See all 20 →

Sources