CVE-2022-2232Keycloak: ldap injection on username input
- 7.5HighCVSS base score
- 0.65%Exploitation in 30 daysEPSS · top 48% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A flaw was found in the Keycloak package. This flaw allows an attacker to utilize an LDAP injection to bypass the username lookup or potentially perform other malicious actions.
Timeline
ID reserved
By redhat
- 2 years later
· 2 years later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.65% · top 48% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-ldap-federationGHSA-8hc5-rmgf-qx6p (opens in a new tab)
- Mavenorg.keycloak:keycloak-servicesGHSA-8hc5-rmgf-qx6p (opens in a new tab)
What to do
Workaround: This flaw requires a misconfiguration of the "UUID LDAP Attribute" values. When they are set to the standard entryUUID, objectGUID or nsuniqueid Keycloak is not vulnerable.
References
References5
- RHSA-2024:0094 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0095 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0096 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2022-2232 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2096994 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2922 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8hc5-rmgf-qx6p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-2232)Record last updated .