WaratekVRT Sign in

CVE-2021-3754 keycloak

Affected softwarekeycloak
Severity5.3 Medium CVSS 3.1
Fixed in24.0.1
WeaknessImproper input validation (CWE-20)
Published26 Aug 2022
Updated17 Jun 2026

Description

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.

CWE-670

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.2% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Vulnerability details and exploit for CVE-2021-3754 1 2023-09-07

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak f970803.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=1999196 : a Red Hat bug: the triage, which links onward to the fix

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 24.0.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic < 24.0.1
nvd redhat keycloak generic any version
nvd redhat single sign-on generic 7.0

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1999196 bugzilla
https://github.com/keycloak/keycloak/security/advisories/GHSA-4vc8-pg5c-vg4x WEB
https://github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e WEB
https://access.redhat.com/security/cve/CVE-2021-3754 WEB
https://github.com/keycloak/keycloak PACKAGE

Timeline

Published2022-08-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.