CVE-2023-0657
Keycloak: impersonation via logout token exchange
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.4 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Low3.4 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.30% · top 77% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.4.
Weakness
Affected products
keycloak
- affected < 22.0.10
- affected 23.0.0 – < 24.0.3
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.10-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-13 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-16 – < *
Red Hat · Red Hat build of Keycloak 22.0.10
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-7fpj-9hr8-28vh (opens in a new tab)
References (4)
- RHSA-2024:1867 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:1868 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-0657 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2166728 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7fpj-9hr8-28vh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-0657)Record last updated .