GHSA-7h8m-vrxx-vr4m
ZITADEL race condition in lockout policy execution
Quick fix
GHSA-7h8m-vrxx-vr4m — github.com/zitadel/zitadel: upgrade to the fixed version with the command below.
go get github.com/zitadel/zitadel@v2.40.5Details
### Impact
ZITADEL provides administrators the possibility to define a `Lockout Policy` with a maximum amount of failed password check attempts. On every failed password check, the amount of failed checks is compared against the configured maximum. Exceeding the limit, will lock the user and prevent further authentication.
In the affected implementation it was possible for an attacker to start multiple parallel password checks, giving him the possibility to try out more combinations than configured in the `Lockout Policy`.
### Patches
2.x versions are fixed on >= [2.40.5](https://github.com/zitadel/zitadel/releases/tag/v2.40.5) 2.38.x versions are fixed on >= [2.38.3](https://github.com/zitadel/zitadel/releases/tag/v2.38.3)
### Workarounds
There is no workaround since a patch is already available.
### References
None
### Questions
If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)
Are you affected?
Enter the version of the package you're using.
Affected packages
2.39.0Fixed in: 2.40.5go get github.com/zitadel/zitadel@v2.40.50Fixed in: 2.38.3go get github.com/zitadel/zitadel@v2.38.3References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-7h8m-vrxx-vr4m[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-47111[ADVISORY]
- https://github.com/zitadel/zitadel/commit/22e2d5599918864877e054ebe82fb834a5aa1077[WEB]
- https://github.com/zitadel/zitadel[PACKAGE]
- https://github.com/zitadel/zitadel/releases/tag/v2.38.3[WEB]
- https://github.com/zitadel/zitadel/releases/tag/v2.40.5[WEB]