Home / Red Hat / Red Hat Single Sign-On 7 / CVE-2022-2232
CVE-2022-2232: is it exploited, and which versions of Red Hat Single Sign-On 7 are affected and fixed?
CVE-2022-2232 is an improper input validation vulnerability in Red Hat Single Sign-On 7. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: org.keycloak:keycloak-ldap-federation before 23.0.1 and org.keycloak:keycloak-services before 23.0.1 (GitHub advisory GHSA-8hc5-rmgf-qx6p). Fixed in 23.0.1 (GitHub advisory GHSA-8hc5-rmgf-qx6p). Severity: High (7.5, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 19:53 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2022-2232?
Keycloak: ldap injection on username input
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.
From the CVE record by redhat, last updated November 14, 2024, 17:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 rh-sso7-keycloak | not stated | |
| Red Hat | Red Hat Single Sign-On 7 rh-sso7-keycloak | not stated | |
| Red Hat | Red Hat Single Sign-On 7 rh-sso7-keycloak | not stated | |
| Red Hat | Red Hat Single Sign-On 7 keycloak-core | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 14, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-ldap-federation | < 23.0.1 | 23.0.1 | GHSA-8hc5-rmgf-qx6p |
| Maven | org.keycloak:keycloak-services | < 23.0.1 | 23.0.1 | GHSA-8hc5-rmgf-qx6p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 29, 2023. Summary: Keycloak vulnerable to LDAP Injection on UsernameForm Login.
How severe is CVE-2022-2232?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-2232 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 14, 2024)
- EPSS
- 0.80% probability of exploitation activity in the next 30 days, percentile 57.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
- CWE-90 Improper Neutralization of Special Elements used in an LDAP Query
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- RHSA-2024:0094 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0095 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0096 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2022-2232 vdb-entry, x_refsource_REDHAT
- RHBZ#2096994 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank Konstantin Goldenberg (VHV) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 27, 2022
- Published
- November 14, 2024, 14:51 UTC
- CVE record updated
- November 14, 2024, 17:06 UTC by redhat
- NVD
- Deferred, last modified June 17, 2026, 04:41 UTC
- Last checked
- CVE list November 28, 2026, 19:53 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Single Sign-On 7?
- Dec 3, 2026CVE-2026-143804 Red Hat Build of Keycloak: no limit on login attempts (brute force)
- Dec 3, 2026CVE-2026-143801 Red Hat Build of Keycloak: missing authorization
- Dec 1, 2026CVE-2026-140884 Red Hat Build of Keycloak: improper input validation
- Nov 26, 2026CVE-2026-137602 Red Hat Build of Keycloak: authorization bypass through a user-controlled key (IDOR)
- Nov 26, 2026CVE-2026-137435 Red Hat Build of Keycloak: improper Handling of Case Sensitivity
- Nov 26, 2026CVE-2026-137431 Red Hat Build of Keycloak: improper Validation of Consistency within Input
- Nov 25, 2026CVE-2026-136703 Red Hat Build of Keycloak: observable Response Discrepancy
- Nov 25, 2026CVE-2026-135768 Red Hat Build of Keycloak: authentication bypass (improper authentication)
Every CVE in Red Hat Single Sign-On 7
Questions about CVE-2022-2232
Is CVE-2022-2232 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Single Sign-On 7 are affected by CVE-2022-2232?
org.keycloak:keycloak-ldap-federation before 23.0.1 and org.keycloak:keycloak-services before 23.0.1, per the GitHub advisory GHSA-8hc5-rmgf-qx6p. The tables above give every range the sources list.
Which version fixes CVE-2022-2232?
23.0.1, per the GitHub advisory GHSA-8hc5-rmgf-qx6p. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-2232?
High (7.5, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2022-2232?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.