{"id":"CVE-2023-2422","aliases":["CVE-2023-2422","GHSA-3qh5-qqj2-c78f"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: oauth client impersonation","summary":"A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.","source":"cvelist"},{"lang":"en","text":"When a Keycloak server is configured to support mTLS authentication for OAuth/OpenID clients, it does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una falla en Keycloak. Un servidor Keycloak configurado para admitir la autenticación mTLS para clientes OAuth/OpenID no verifica correctamente la cadena de certificados del cliente. Un cliente que posee un certificado adecuado puede autorizarse como cualquier otro cliente, por tanto, acceder a datos que pertenecen a otros clientes.","source":"nvd"}],"published":"2023-06-30T20:31:37.000Z","modified":"2026-06-17T05:52:33.157Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","package":"keycloak-oauth","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6.4","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.8-1.redhat_00001.1.el7sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.8-1.redhat_00001.1.el8sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.8-1.redhat_00001.1.el9sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"7.6-24","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","package":"rh-sso-7/sso76-openshift-rhel8","cpe":"cpe:/a:redhat:rhosemc:1.0::el8","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"21.1.2"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"},{"ranges":[],"vendor":"redhat","product":"keycloak","cpe":"cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.9"},{"status":"affected","version":"4.10"},{"status":"affected","version":"4.11"},{"status":"affected","version":"4.12"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:4.9:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.6"}],"vendor":"redhat","product":"single_sign-on","cpe":"cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:3883","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3884","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3885","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3888","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3892","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2422","tags":["vdb-entry","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2191668","tags":["issue-tracking","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2422","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/5c6c55945a384bfd82e51283096204dcb6f63d91","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-03T18:15:34.385Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2422","url":"https://www.cve.org/CVERecord?id=CVE-2023-2422","licence":"CVE Terms of Use","modified":"2024-08-02T06:19:15.138Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3qh5-qqj2-c78f","url":"https://github.com/advisories/GHSA-3qh5-qqj2-c78f","licence":"CC-BY-4.0","modified":"2024-02-16T08:22:30.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2422","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2422","licence":"Public domain","modified":"2026-06-17T05:52:33.157Z"}],"updatedAt":"2026-11-25T22:58:28.442Z","epss":{"score":0.00522,"percentile":0.45793,"date":"2026-12-01T12:00:22.000Z"}}