Vulnerability · Published Nov 14, 2024 · Assigned by redhat

CVE-2022-2232Keycloak: ldap injection on username input

High 7.5

In plain English

A high-severity improper input validation in Red Hat Single Sign-On 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-ldap-federation23.0.1GHSA-8hc5-rmgf-qx6p
Mavenorg.keycloak:keycloak-services23.0.1GHSA-8hc5-rmgf-qx6p

Affected products (as reported)

VendorProductVersions
Red Hat Red Hat Single Sign-On 7 see references
Red Hat Red Hat Single Sign-On 7 see references
Red Hat Red Hat Single Sign-On 7 see references
Red Hat Red Hat Single Sign-On 7 see references

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References