CVE-2022-2232: Keycloak vulnerable to LDAP Injection on UsernameForm Login

CVE-2022-2232 · Severity: info · Published 2023-11-29

Keycloak vulnerable to LDAP Injection on UsernameForm Login

Technologies: org.keycloak:keycloak-ldap-federation (Maven), org.keycloak:keycloak-services (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-2232 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-2232 being exploited in the wild.
How severe is CVE-2022-2232?
Informational severity, published 29 November 2023.
Which products and versions are affected?
org.keycloak:keycloak-ldap-federation (Maven) ECOSYSTEM:introduced=0,fixed=23.0.1; org.keycloak:keycloak-services (Maven) ECOSYSTEM:introduced=0,fixed=23.0.1.
Is there a fix for CVE-2022-2232?
Yes. org.keycloak:keycloak-ldap-federation (Maven): upgrade to 23.0.1 or later; org.keycloak:keycloak-services (Maven): upgrade to 23.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-2232?
Check whether you run org.keycloak:keycloak-ldap-federation (Maven) or org.keycloak:keycloak-services (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.keycloak:keycloak-ldap-federation (Maven): upgrade to 23.0.1 or later
    # set org.keycloak:keycloak-ldap-federation to 23.0.1 in your pom.xml or build.gradle
  • org.keycloak:keycloak-services (Maven): upgrade to 23.0.1 or later
    # set org.keycloak:keycloak-services to 23.0.1 in your pom.xml or build.gradle

Affected products

  • org.keycloak:keycloak-ldap-federation (Maven) ECOSYSTEM:introduced=0,fixed=23.0.1
  • org.keycloak:keycloak-services (Maven) ECOSYSTEM:introduced=0,fixed=23.0.1

Identifiers

  • CVE-2022-2232
  • GHSA-8hc5-rmgf-qx6p

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.