LOW3.7
GHSA-4vc8-pg5c-vg4x
Keycloak's improper input validation allows using email as username
Quick fix
GHSA-4vc8-pg5c-vg4x — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>24.0.1</version> for org.keycloak:keycloak-servicesDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 24.0.1Fix
# pom.xml: bump <version>24.0.1</version> for org.keycloak:keycloak-servicesReferences
- 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]