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

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, fixed 24.0.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database