CVE-2024-41952
JSON

5.3medium

Zitadel has an "Ignoring unknown usernames" vulnerability

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.01% (higher than 62% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-567v-6hmg-6qg7GO-2024-3014

Description

Zitadel is an open source identity management system. ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. If enabled, ZITADEL will show the password prompt even if the user doesn't exist and report "Username or Password invalid". Due to a implementation change to prevent deadlocks calling the database, the flag would not be correctly respected in all cases and an attacker would gain information if an account exist within ZITADEL, since the error message shows "object not found" instead of the generic error message. This vulnerability is fixed in 2.58.1, 2.57.1, 2.56.2, 2.55.5, 2.54.8, and 2.53.9.

Affected

Product or packageVersionsReported by
zitadel zitadel>= 2.53.0, < 2.53.9, >= 2.54.0, < 2.54.8, >= 2.55.0, < 2.55.5, >= 2.56.0, < 2.56.2, >= 2.57.0, < 2.57.1, >= 2.58.0, < 2.58.1, from 2.53.0 before 2.53.9, from 2.54.0 before 2.54.8 and 6 moreCVE List, NVD
github.com/zitadel/zitadel (Go)from 2.53.0 before 2.53.9, from 2.54.0 before 2.54.8, from 2.55.0 before 2.55.5, from 2.56.0 before 2.56.2, from 2.57.0 before 2.57.1, from 2.58.0 before 2.58.1, from 0.0.0-20230609131415-dafa8ab4dfe8 before 0.0.0-20240731122357-a1d24353db4d, from 1.80.0-v2.20.0.20230609131415-dafa8ab4dfe8 before 1.80.0-v2.20.0.20240731122357-a1d24353db4d and 1 moreGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-203

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Zitadel is an open source identity management system. ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. If enabled, ZITADEL will show the password prompt even if the user doesn't exist and report "Username or Password invalid". Due to a implementation change to prevent deadlocks calling the database, the flag would not be correctly respected in all cases and an attacker would gain information if an account exist within ZITADEL, since the error message shows "object not found" instead of the generic error message. This vulnerability is fixed in 2.58.1, 2.57.1, 2.56.2, 2.55.5, 2.54.8, and 2.53.9.

GitHub Advisory Database
Impact

ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. If enabled, ZITADEL will show the password prompt even if the user doesn't exist and report "Username or Password invalid". Due to a implementation change to prevent deadlocks calling the database, the flag would not be correctly respected in all cases and an attacker would gain information if an account exist within ZITADEL, since the error message shows "object not found" instead of the generic error message.

Patches

2.x versions are fixed on >= 2.58.1 2.57.x versions are fixed on >= 2.57.1 2.56.x versions are fixed on >= 2.56.2 2.55.x versions are fixed on >= 2.55.5 2.54.x versions are fixed on >= 2.54.8 2.53.x versions are fixed on >= 2.53.9

ZITADEL recommends upgrading to the latest versions available in due course.

Workarounds

There is no workaround since a patch is already available.

Questions

If you have any questions or comments about this advisory, please email us at security@zitadel.com

Go Vulnerability Database

ZITADEL "ignoring unknown usernames" vulnerability in github.com/zitadel/zitadel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/zitadel/zitadel from v2.53.0 before v2.53.9, from v2.54.0 before v2.54.8, from v2.55.0 before v2.55.5, from v2.56.0 before v2.56.2, from v2.57.0 before v2.57.1, from v2.58.0 before v2.58.1.

NVD (es)

Zitadel es un sistema de gestión de identidades de código abierto. Los administradores de ZITADEL pueden habilitar una configuración llamada "Ignoring unknown usernames" que ayuda a mitigar los ataques que intentan adivinar/enumerar nombres de usuario. Si está habilitado, ZITADEL mostrará la solicitud de contraseña incluso si el usuario no existe e informará "Username or Password invalid". Debido a un cambio de implementación para evitar interbloqueos al llamar a la base de datos, el flag no se respetaría correctamente en todos los casos y un atacante obtendría información si existe una cuenta dentro de ZITADEL, ya que el mensaje de error muestra "object not found" en lugar del error genérico. mensaje. Esta vulnerabilidad se solucionó en 2.58.1, 2.57.1, 2.56.2, 2.55.5, 2.54.8 y 2.53.9.

References

https://github.com/zitadel/zitadel/security/advisories/GHSA-567v-6hmg-6qg7advisory, vendor-advisory, web
https://github.com/zitadel/zitadel/commit/0ab0c645ef914298c343fa39cccb1290aba48bf6fix, patch, web
https://github.com/zitadel/zitadel/commit/3c7d12834e32426416235b9e3374be0f4b9380b8fix, patch, web
https://github.com/zitadel/zitadel/commit/5c2526c98aafd1ba206be2fa4291b1d24c384f6dfix, patch, web
https://github.com/zitadel/zitadel/commit/8565d24fd8df5bd35294313cfbfcc2e15aea20e9fix, patch, web
https://github.com/zitadel/zitadel/commit/b0e71a81ef39667ce2a149ce037c1ca0edbe059dfix, patch, web
https://github.com/zitadel/zitadel/commit/fc1d415b8db5b8d481bb65206ce3fc944c0eeceafix, patch, web
https://github.com/zitadel/zitadel/releases/tag/v2.53.9release-notes, web
https://github.com/zitadel/zitadel/releases/tag/v2.54.8release-notes, web
https://github.com/zitadel/zitadel/releases/tag/v2.55.5release-notes, web
https://github.com/zitadel/zitadel/releases/tag/v2.56.2release-notes, web
https://github.com/zitadel/zitadel/releases/tag/v2.57.1release-notes, web

Sources

SourceRecordLicence
CVE ListCVE-2024-41952 changed 2024-07-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-567v-6hmg-6qg7 changed 2025-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3014 changed 2024-08-06CC-BY-4.0
NVDCVE-2024-41952 changed 2026-06-17Public domain