Vulnerability · Published Jul 31, 2024 · Assigned by GitHub_M
CVE-2024-41952Zitadel has an "Ignoring unknown usernames" vulnerability
Medium 5.3
In plain English
A medium-severity security flaw in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/zitadel/zitadel | 2.53.9 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 2.54.8 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 2.55.5 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 2.56.2 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 2.57.1 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 2.58.1 | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 0.0.0-20240731122357-a1d24353db4d | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | 1.80.0-v2.20.0.20240731122357-a1d24353db4d | GHSA-567v-6hmg-6qg7 |
| Go | github.com/zitadel/zitadel | no fix listed | GO-2024-3014 |
Affected products (as reported)
Weakness: CWE-203 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-567v-6hmg-6qg7 x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/commit/0ab0c645ef914298c343fa39cccb1290aba48bf6 x_refsource_MISC
- https://github.com/zitadel/zitadel/commit/3c7d12834e32426416235b9e3374be0f4b9380b8 x_refsource_MISC
- https://github.com/zitadel/zitadel/commit/5c2526c98aafd1ba206be2fa4291b1d24c384f6d x_refsource_MISC
- https://github.com/zitadel/zitadel/commit/8565d24fd8df5bd35294313cfbfcc2e15aea20e9 x_refsource_MISC
- https://github.com/zitadel/zitadel/commit/b0e71a81ef39667ce2a149ce037c1ca0edbe059d x_refsource_MISC
- https://github.com/zitadel/zitadel/commit/fc1d415b8db5b8d481bb65206ce3fc944c0eecea x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.53.9 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.54.8 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.55.5 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.56.2 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.57.1 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.58.1 x_refsource_MISC