MEDIUM6.5
GHSA-c7xw-p58w-h6fj
Keycloak: Impersonation and lockout possible through incorrect handling of email trust
Quick fix
GHSA-c7xw-p58w-h6fj — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>22.0.1</version> for org.keycloak:keycloak-coreDetails
Impersonation and lockout are possible due to email trust not being handled correctly in Keycloak. Since the verified state is not reset when the email changes, it is possible for users to shadow others with the same email and lock out or impersonate them.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-core
Introduced in:
0Fixed in: 22.0.1Fix
# pom.xml: bump <version>22.0.1</version> for org.keycloak:keycloak-coreReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-c7xw-p58w-h6fj[WEB]
- https://github.com/keycloak/keycloak/commit/87a50d3ba790b049e436c9925874f9b418af7988[WEB]
- https://access.redhat.com/security/cve/CVE-2023-0105[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2158910[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]