ghsa-567v-6hmg-6qg7
Vulnerability from github
6.9 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
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
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 2.53.8" }, "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.53.0" }, { "fixed": "2.53.9" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 2.54.7" }, "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.54.0" }, { "fixed": "2.54.8" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 2.55.4" }, "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.55.0" }, { "fixed": "2.55.5" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 2.56.1" }, "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.56.0" }, { "fixed": "2.56.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.57.0" }, { "fixed": "2.57.1" } ], "type": "ECOSYSTEM" } ], "versions": [ "2.57.0" ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.58.0" }, { "fixed": "2.58.1" } ], "type": "ECOSYSTEM" } ], "versions": [ "2.58.0" ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "0.0.0-20230609131415-dafa8ab4dfe8" }, { "fixed": "0.0.0-20240731122357-a1d24353db4d" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "1.80.0-v2.20.0.20230609131415-dafa8ab4dfe8" }, { "fixed": "1.80.0-v2.20.0.20240731122357-a1d24353db4d" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-41952" ], "database_specific": { "cwe_ids": [ "CWE-203" ], "github_reviewed": true, "github_reviewed_at": "2024-07-31T21:02:52Z", "nvd_published_at": "2024-07-31T17:15:10Z", "severity": "MODERATE" }, "details": "### Impact\n\nZITADEL 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\u0027t exist and report \"Username or Password invalid\".\nDue 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.\n\n### Patches\n\n2.x versions are fixed on \u003e= [2.58.1](https://github.com/zitadel/zitadel/releases/tag/v2.58.1)\n2.57.x versions are fixed on \u003e= [2.57.1](https://github.com/zitadel/zitadel/releases/tag/v2.57.1)\n2.56.x versions are fixed on \u003e= [2.56.2](https://github.com/zitadel/zitadel/releases/tag/v2.56.2)\n2.55.x versions are fixed on \u003e= [2.55.5](https://github.com/zitadel/zitadel/releases/tag/v2.55.5)\n2.54.x versions are fixed on \u003e= [2.54.8](https://github.com/zitadel/zitadel/releases/tag/v2.54.8)\n2.53.x versions are fixed on \u003e= [2.53.9](https://github.com/zitadel/zitadel/releases/tag/v2.53.9)\n\nZITADEL recommends upgrading to the latest versions available in due course.\n\n### Workarounds\n\nThere is no workaround since a patch is already available.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)", "id": "GHSA-567v-6hmg-6qg7", "modified": "2025-07-08T16:39:58Z", "published": "2024-07-31T21:02:52Z", "references": [ { "type": "WEB", "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-567v-6hmg-6qg7" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-41952" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/0ab0c645ef914298c343fa39cccb1290aba48bf6" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/3c7d12834e32426416235b9e3374be0f4b9380b8" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/5c2526c98aafd1ba206be2fa4291b1d24c384f6d" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/8565d24fd8df5bd35294313cfbfcc2e15aea20e9" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/b0e71a81ef39667ce2a149ce037c1ca0edbe059d" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/commit/fc1d415b8db5b8d481bb65206ce3fc944c0eecea" }, { "type": "PACKAGE", "url": "https://github.com/zitadel/zitadel" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.53.9" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.54.8" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.55.5" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.56.2" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.57.1" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.58.1" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2024-3014" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "ZITADEL \"ignoring unknown usernames\" vulnerability" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.