Vulnerability · Published Nov 17, 2024 · Assigned by redhat
CVE-2023-0657Keycloak: impersonation via logout token exchange
Low 3.4
In plain English
A low-severity security flaw in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)3.4Low
Exploit odds (30 days)0.3%top 77.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.10 | GHSA-7fpj-9hr8-28vh |
| Maven | org.keycloak:keycloak-services | 24.0.3 | GHSA-7fpj-9hr8-28vh |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 0 – before 22.0.1023.0.0 – before 24.0.3 | |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22.0.10 | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-273 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- RHSA-2024:1867 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1868 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-0657 vdb-entry, x_refsource_REDHAT
- RHBZ#2166728 issue-tracking, x_refsource_REDHAT