{"id":"CVE-2022-2232","state":"PUBLISHED","title":"Keycloak: ldap injection on username input","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.","publishedAt":"2024-11-14T14:51:14.594Z","updatedAt":"2024-11-14T17:06:46.384Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat Red Hat Single Sign-On 7"],"affected":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el7"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el8"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el9"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak-core","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":["https://access.redhat.com/errata/RHSA-2024:0094","https://access.redhat.com/errata/RHSA-2024:0095","https://access.redhat.com/errata/RHSA-2024:0096","https://access.redhat.com/security/cve/CVE-2022-2232","https://bugzilla.redhat.com/show_bug.cgi?id=2096994"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:50:01.354Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/2xxx/CVE-2022-2232.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-2232","state":"PUBLISHED","datePublished":"2024-11-14T14:51:14.594Z","dateUpdated":"2024-11-14T17:06:46.384Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-06-27T19:32:32.993Z"},"containers":{"cna":{"title":"Keycloak: ldap injection on username input","descriptions":[{"lang":"en","value":"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":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el7"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el8"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"rh-sso7-keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7.6::el9"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak-core","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:0094","name":"RHSA-2024:0094","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0095","name":"RHSA-2024:0095","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:0096","name":"RHSA-2024:0096","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-2232","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2096994","name":"RHBZ#2096994","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Low","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2024-11-14T14:51:14.594Z"},"datePublic":"2023-11-29T00:00:00.000Z","x_redhatCweChain":"CWE-20: Improper Input Validation","workarounds":[{"lang":"en","value":"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."}],"timeline":[{"lang":"en","time":"2022-06-10T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2023-11-29T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Konstantin Goldenberg (VHV) for reporting this issue."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-14T17:06:36.332577Z","id":"CVE-2022-2232","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-14T17:06:46.384Z"}}]}}}