VDB
Sign up
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-services

Details

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.1
Fix# pom.xml: bump <version>24.0.1</version> for org.keycloak:keycloak-services

References