CVE-2022-2232
Java vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-2232) was discovered in the Keycloak package, which allows attackers to perform LDAP injection attacks. The vulnerability was reported on June 14, 2022, affecting Keycloak implementations where specific LDAP configurations are present (CVE Details, MITRE).

Technical details

The vulnerability is related to improper input validation (CWE-20) in the username lookup functionality. The flaw specifically occurs when the 'UUID LDAP Attribute' values are not set to the standard values (entryUUID, objectGUID, or nsuniqueid). The vulnerability has been assigned a CVSS v3 base score of 7.5, indicating a moderate severity level with a network attack vector, low attack complexity, and no required privileges or user interaction (Red Hat CVE).

Impact

When successfully exploited, this vulnerability allows attackers to bypass username lookup mechanisms or potentially execute other malicious actions through LDAP injection. The CVSS scoring indicates high impact on confidentiality, while integrity and availability impacts are rated as none (Red Hat CVE).

Mitigation and workarounds

The vulnerability can be mitigated by ensuring the 'UUID LDAP Attribute' values are set to the standard values: entryUUID, objectGUID, or nsuniqueid. When configured with these standard values, Keycloak is not vulnerable to this LDAP injection attack (Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management