GitHub Advisory Database
GHSA-7fpj-9hr8-28vh
Keycloak vulnerable to impersonation via logout token exchange
Details
Keycloak was found to not properly enforce token types when validating signatures locally. An authenticated attacker could use this flaw to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 22.0.10 (fixed in 22.0.10) |
| Maven | org.keycloak:keycloak-services | From 23.0.0 before 24.0.3 (fixed in 24.0.3) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-7fpj-9hr8-28vh
- https://nvd.nist.gov/vuln/detail/CVE-2023-0657
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/security/cve/CVE-2023-0657
- https://bugzilla.redhat.com/show_bug.cgi?id=2166728
- https://github.com/keycloak/keycloak