{"id":"CVE-2021-3754","published":"2022-08-26T15:25:40Z","modified":"2024-08-03T17:09:08Z","title":"A flaw was found in keycloak where an attacker is able to register himself with the username same as the email ID of…","vendor":null,"product":null,"tier":"tail","description":{"text":"A flaw was found in keycloak where an attacker is able to register himself with the username same as the email ID of any existing user. This may cause trouble in getting password recovery email in case the user forgets the password.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02235,"percentile":0.83223,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1999196","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3754","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":16.64},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-09-07","earliestUrl":"https://github.com/7Ragnarok7/CVE-2021-3754","repos":[{"name":"7Ragnarok7/CVE-2021-3754","url":"https://github.com/7Ragnarok7/CVE-2021-3754","stars":1,"created":"2023-09-07"}]},"first":{"date":"2023-09-07","source":"PoC-in-GitHub","url":"https://github.com/7Ragnarok7/CVE-2021-3754"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["Not-Known"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<24.0.1"],"patched":["24.0.1"],"from":["GHSA-4vc8-pg5c-vg4x"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation issue in Keycloak's user registration component, which fails to prevent a new account from using the email address of an existing user as its username.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:24Z"},"euvd":{"id":"EUVD-2024-1917","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-4-cve-2017-2582","parents":[{"from":"CVE-2020-27826","to":"CVE-2021-3754","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/resources/admin/UserResource.java","services/src/main/java/org/keycloak/services/resources/admin/UsersResource.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e"],"basis":"shared function","functions":["createUser"]}]}]}}