GitHub Advisoryadvisory · Maven
GHSA-4vc8-pg5c-vg4x Keycloak's improper input validation allows using email as username
LOW
Official page ↗
- Aliases
- CVE-2021-3754
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-services
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-670
- Reviewed
- 2024-06-12
Affected packages
• Maven org.keycloak:keycloak-services: < 24.0.1 → fixed in 24.0.1
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.
Related
Alias · CVE (1)
- CVE-2021-3754 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. vulnerability
Weakness · CWE (1)
- CWE-670 Always-Incorrect Control Flow Implementation weakness
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