Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. GHSA-4vc8-pg5c-vg4x

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

June 12, 2024

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.

References

  • github.com/advisories/GHSA-4vc8-pg5c-vg4x
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e
  • github.com/keycloak/keycloak/security/advisories/GHSA-4vc8-pg5c-vg4x

Code Behaviors & Features

Detect and mitigate GHSA-4vc8-pg5c-vg4x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 24.0.1

Fixed versions

  • 24.0.1

Solution

Upgrade to version 24.0.1 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-670: Always-Incorrect Control Flow Implementation

Source file

maven/org.keycloak/keycloak-services/GHSA-4vc8-pg5c-vg4x.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.