CVE-2022-2232 json
Keycloak: ldap injection on username input
published 2y ago modified 4mo ago also GHSA-8hc5-rmgf-qx6p , EUVD-2023-2922
- cvss
- 7.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 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-ldap-federation 23.0.1
- maven org.keycloak:keycloak-services 23.0.1
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el8sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el8sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el9sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el9sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el7sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.11-3.redhat_00001.1.el7sso
red hat advisories RHSA-2024:0095RHSA-2024:0096RHSA-2024:0094
Is CVE-2022-2232 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-2232 updated cvss 7.5
keycloak: LDAP injection on username input
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: workaround, no fix available “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.”
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
- last yr.
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-ldap-federation | <23.0.1 |
23.0.1 |
| maven | org.keycloak:keycloak-services | <23.0.1 |
23.0.1 |
Affected products
- Red Hat Red Hat Single Sign-On 7
Classification
References
-
github.com
/keycloak/keycloak/commit/4252e394cf725b16f7e4e19aa32b03fd3fe13fde
web
-
access.redhat.com
/errata/RHSA-2024:0094
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:0095
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:0096
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2022-2232
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2096994
issue-tracking
-
github.com
/keycloak/keycloak/security/advisories/GHSA-8hc5-rmgf-qx6p
web
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2022-2232
- GitHub Advisory GHSA-8hc5-rmgf-qx6p
- NVD CVE-2022-2232
Fencer Intel 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.