CVE-2023-0105 json
Keycloak: Impersonation and lockout possible through incorrect handling of email trust
published 2023-01-11 3 y ago modified 2026-06-17 4 mo ago also GHSA-c7xw-p58w-h6fj , EUVD-2023-2025
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
A flaw was found in Keycloak. This flaw allows impersonation and lockout due to the email trust not being handled correctly in Keycloak. An attacker can shadow other users with the same email and lockout or impersonate them.
Patch / fix
- maven org.keycloak:keycloak-core 22.0.1
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el9sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el9sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el8sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el8sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el7sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-2.redhat_00001.1.el7sso
red hat advisories RHSA-2023:7484RHSA-2023:7483RHSA-2023:7482
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-0105 updated cvss 6.3
keycloak: impersonation and lockout possible through incorrect handling of email trust
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-36fixed: vendor fix RHSA-2023:7486
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2023:7488
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.11-2.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.11-2.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:7482
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.11-2.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.11-2.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:7483
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.11-2.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.11-2.redhat_00001.1.el9ssofixed: vendor fix RHSA-2023:7484
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
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | <22.0.1 |
22.0.1 |
Affected products
- redhat.com Keycloak
Classification
References
-
github.com
/keycloak/keycloak/commit/87a50d3ba790b049e436c9925874f9b418af7988
web
-
access.redhat.com
/security/cve/CVE-2023-0105
web, vendor-advisory
-
github.com
/keycloak/keycloak/security/advisories/GHSA-c7xw-p58w-h6fj
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2158910
web
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2023-0105
- GitHub Advisory GHSA-c7xw-p58w-h6fj
- NVD CVE-2023-0105
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.