{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-0657","id":"CVE-2023-0657","title":"Keycloak: impersonation via logout token exchange","description":"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.","descriptionLong":"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.","published":"2024-11-17T10:19:03.717Z","updated":"2026-11-17T07:01:38.000306787Z","reserved":"2023-02-02T18:49:19.373Z","status":"Deferred","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"redhat"},"metrics":[{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"redhat"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"redhat.com"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["keycloak","Red Hat build of Keycloak 22","Red Hat build of Keycloak 22.0.10","Red Hat Single Sign-On 7"],"affectedProducts":[{"vendor":"","product":"keycloak","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"22.0.10","versionType":"semver"},{"status":"affected","version":"23.0.0","lessThan":"24.0.3","versionType":"semver"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22.0.10-1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22-13","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22-16","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22.0.10","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<22.0.10",">=23.0.0 <24.0.3"],"fixed":["22.0.10","24.0.3"],"advisory":"GHSA-7fpj-9hr8-28vh"}],"cwes":["CWE-273","CWE-284","CWE-287","CWE-290","CWE-347"],"aliases":["GHSA-7fpj-9hr8-28vh"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-0657","tags":["vdb-entry","x_refsource_REDHAT","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2166728","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0657.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0657","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-7fpj-9hr8-28vh","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.003,"epssPercentile":0.23119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-0657","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0657","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-0657","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7fpj-9hr8-28vh","ok":true,"note":"GHSA-7fpj-9hr8-28vh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-0657","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}