Read the docs
TI-2022-02061 Aliases CVE-2022-2232GHSA-8hc5-rmgf-qx6p

Keycloak: ldap injection on username input

Priority MEDIUM 40CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00651 51st percentileScored 2026-11-07
Fix Partial org.keycloak:keycloak-ldap-federation (Maven): 23.0.1org.keycloak:keycloak-services (Maven): 23.0.1Red Hat: 3 advisoriesRed Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
Red HatRed Hat Single Sign-On 7——No fix listedCNA
—org.keycloak:keycloak-ldap-federation (Maven)before 23.0.123.0.1Patch availableGHSA-8hc5-rmgf-qx6p
—org.keycloak:keycloak-services (Maven)before 23.0.123.0.1Patch availableGHSA-8hc5-rmgf-qx6p
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected before 23.0.1 Fixed in 23.0.1 Patch available GHSA-8hc5-rmgf-qx6p
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 23.0.1 Fixed in 23.0.1 Patch available GHSA-8hc5-rmgf-qx6p

CPE names CNA · 4

CPEVersionsRoleVendor
cpe:/a:redhat:red_hat_single_sign_on:7.6::el77.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.6::el87.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:7.6::el97.6—Red Hat
cpe:/a:redhat:red_hat_single_sign_on:77—Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el7 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el8 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7.6::el9 Versions 7.6 — ·Red Hat
  • cpe:/a:redhat:red_hat_single_sign_on:7 Versions 7 — ·Red Hat

Remediation

  • Fix · GHSA-8hc5-rmgf-qx6p org.keycloak:keycloak-ldap-federation (Maven) Fixed in 23.0.1 Advisory →
  • Fix · GHSA-8hc5-rmgf-qx6p org.keycloak:keycloak-services (Maven) Fixed in 23.0.1 Advisory →

Red Hat 3 advisories

  • RHSA-2024:0096 Released 2024-01-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.6 security update on RHEL 9
    • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el9sso
  • RHSA-2024:0094 Released 2024-01-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.6 security update on RHEL 7
    • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el7sso
  • RHSA-2024:0095 Released 2024-01-09 · Red Hat rating Moderate
    Red Hat Single Sign-On 7.6.6 security update on RHEL 8
    • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el8sso

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Single Sign-On 7AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-2232
  2. 2026-10-03 Alias added: GHSA-8hc5-rmgf-qx6p
  3. 2026-10-14 EPSS moved to the 50th–90th percentile

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
See all 7413 →

Sources