CVE-2023-0105
Keycloak: Impersonation and lockout possible through incorrect handling of email trust
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-core | < 22.0.1 | 22.0.1 |
Blast radius
66% of the dependent artifacts (907) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 11,630 |
| 2 hops | 16,031 |
| 3 hops | 12,994 |
| 4 hops | 3,776 |
| 5 hops | 2,507 |
| 6 hops | 597 |
Most used dependents
- org.keycloak » keycloak-services223 usages
- org.keycloak » keycloak-admin-client216 usages
- org.alfresco » alfresco-repository121 usages
- com.github.dasniko » testcontainers-keycloak113 usages
- org.keycloak » keycloak-authz-client98 usages
- org.keycloak » keycloak-spring-boot-starter93 usages
- org.alfresco » alfresco-remote-api67 usages
- org.keycloak » keycloak-model-jpa62 usages
- org.keycloak » keycloak-spring-security-adapter56 usages
- org.keycloak » keycloak-undertow-adapter48 usages
- org.commonjava.indy » indy-core43 usages
- city.smartb.i2 » keycloak-auth-client42 usages
- io.apicurio » apicurio-registry-common42 usages
- org.alfresco » share37 usages
- io.apicurio » apicurio-registry-utils-converter37 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak advisory GHSA-c7xw-p58w-h6fj | github.com |
| Web | keycloak/keycloak commit 87a50d3 | github.com |
| Web | security/cve/CVE-2023-0105 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
