GHSA-4vc8-pg5c-vg4x
Keycloak's improper input validation allows using email as username
At a glance
- Published
- Updated
- CVE
- CVE-2021-3754
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
Keycloak allows the use of email as a username and doesn't check that an account with this email already exists. That could lead to the unability to reset/login with email for the user. This is caused by usernames being evaluated before emails.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | introduced 0, fixed 24.0.1 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4vc8-pg5c-vg4x WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3754 ADVISORY
- https://github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e WEB
- https://access.redhat.com/security/cve/CVE-2021-3754 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1999196 WEB
- https://github.com/keycloak/keycloak PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |