GitHub Advisoryadvisory · Maven

GHSA-4vc8-pg5c-vg4x Keycloak's improper input validation allows using email as username

LOW Published 2024-06-12 Modified 2024-12-20 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