{"id":"CVE-2023-0657","summary":"Keycloak: impersonation via logout token exchange","details":"A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.","aliases":["GHSA-7fpj-9hr8-28vh"],"modified":"2026-05-27T03:55:06.707369223Z","published":"2024-11-17T10:19:03.717Z","related":["CGA-wv8v-64xq-xf83"],"database_specific":{"cna_assigner":"redhat","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0657.json","cwe_ids":["CWE-273"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1867"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1868"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-0657"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0657.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0657"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2166728"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"bf8c3c32e53449a632381605f1162fafe9abe8eb"},{"introduced":"1d4ce3d8e9dbc9af996f9248996c78e145902a35"},{"fixed":"27d38787d9eae0854f79a358cda77f834008b71a"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"22.0.10"},{"introduced":"23.0.0"},{"fixed":"24.0.3"}]}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-0657.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}