CVE-2021-3754: Input Validation

Published Aug 30, 2021
·
Updated

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. This may cause trouble in getting password recovery email in case the user forgets the password.

Other sources

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.

Red Hat

Affected Software

3 affected componentsFixes available
maven/org.keycloak:keycloak-services<24.0.1
24.0.1
redhat keycloak
redhat Single Sign-on=7.0

Event History

Aug 30, 2021
Data Sourced
via Red Hat·05:08 PM
DescriptionSeverityAffected Software
Aug 26, 2022
CVE Published
via MITRE·03:25 PM
Data Sourced
via MITRE·03:25 PM
DescriptionWeakness
Jun 12, 2024
Advisory Published
via GitHub·07:41 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3754?

CVE-2021-3754 is a vulnerability found in Keycloak that allows an attacker to register themselves with the username same as the email ID of an existing user, causing issues with password recovery.

2

What is the severity of CVE-2021-3754?

The severity of CVE-2021-3754 is medium, with a CVSSv3 base score of 5.3.

3

What software is affected by CVE-2021-3754?

Redhat Keycloak and Redhat Single Sign-on version 7.0 are affected by CVE-2021-3754.

4

How can an attacker exploit CVE-2021-3754?

An attacker can exploit CVE-2021-3754 by registering themselves with the same username as the email ID of an existing user.

5

Are there any references for CVE-2021-3754?

Yes, you can find more information about CVE-2021-3754 at the following references: [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1999196) and [Red Hat Security](https://access.redhat.com/security/cve/CVE-2021-3754).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203