CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NMedium (6.5) in redhat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-core 21.1.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Norg.keycloak:keycloak-core (Maven): fixed in 21.1.2Explain CVE-2023-1664 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1664?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1664?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1664 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:jboss_a-mq | 7 |
| redhat:single_sign-on | 7.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5cc8-pgp5-7mpm | Maven | org.keycloak:keycloak-core | <21.1.2 | 21.1.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | red_hat_single_sign_on:7.6::el7 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:18.0.8-1.redhat_00001.1.el7sso | RHSA-2023:3883 |
| Red Hat | red_hat_single_sign_on:7.6::el8 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:18.0.8-1.redhat_00001.1.el8sso | RHSA-2023:3884 |
| Red Hat | red_hat_single_sign_on:7.6::el9 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:18.0.8-1.redhat_00001.1.el9sso | RHSA-2023:3885 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Low.
Red Hat Impact rated as a low impact considering there's a mitigation for this issue which would be consider the environment is correctly set with the truststore file. With these settings, the environment there's no evidence of attack possibility. Also it's possible to track under the server logs for more evidences.
Make sure KC_SPI_TRUSTSTORE_FILE_FILE is correctly set and the logs are not reporting the "Cannot validate client certificate trust: Truststore not available" after an attempt to explore the vulnerability. Note this message may happen under other scenarios and reasons but the expected behavior would be that a non-valid certificate to pass.
| Product | Package | State | Advisory |
|---|---|---|---|
| AMQ Broker 7.11.2 | keycloak-core | Fixed 2023-10-05 | RHSA-2023:5491 |
| Red Hat Single Sign-On 7 | rh-sso7-keycloak | Fixed 2023-06-27 | RHSA-2023:3892 |
| Red Hat Single Sign-On 7.6 for RHEL 7 | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el7sso | Fixed 2023-06-27 | RHSA-2023:3883 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el8sso | Fixed 2023-06-27 | RHSA-2023:3884 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | rh-sso7-keycloak-0:18.0.8-1.redhat_00001.1.el9sso | Fixed 2023-06-27 | RHSA-2023:3885 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso76-openshift-rhel8:7.6-24 | Fixed 2023-06-27 | RHSA-2023:3888 |
| Migration Toolkit for Runtimes | org.keycloak-keycloak-core | Affected | |
| Red Hat build of Apicurio Registry 2 | keycloak-core | Fix deferred | |
| Red Hat build of Quarkus | keycloak-core | Fix deferred | |
| Red Hat Fuse 7 | keycloak-core | Fix deferred | |
| Red Hat Satellite 6 | keycloak-httpd-client-install | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1664.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.