CVE-2023-0657 json
Keycloak: impersonation via logout token exchange
published 2024-04-17 2 y ago modified 2026-09-10 1 mo ago also GHSA-7fpj-9hr8-28vh , EUVD-2024-1142
- cvss
- 3.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-services 22.0.10, 24.0.3
- Red Hat Red Hat build of Keycloak 22 22-13, 22-16, 22.0.10-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-0657 updated cvss 3.4
keycloak: impersonation via logout token exchange
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: no fix available “Fix deferred”
-
Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1fixed: vendor fix RHSA-2024:1867
-
Red Hat build of Keycloak 22.0.10fixed: vendor fix RHSA-2024:1868
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.4 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 3.4 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <22.0.10 >=23.0.0, <24.0.3 |
22.0.10 24.0.3 |
Affected products
- Red Hat Red Hat build of Keycloak 22
- Red Hat Red Hat build of Keycloak 22.0.10
- Red Hat Red Hat Single Sign-On 7
Classification
References
-
access.redhat.com
/errata/RHSA-2024:1867
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1868
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2023-0657
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2166728
issue-tracking, web
-
github.com
/keycloak/keycloak/security/advisories/GHSA-7fpj-9hr8-28vh
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-0657
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2023-0657
- GitHub Advisory GHSA-7fpj-9hr8-28vh
- NVD CVE-2023-0657
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.