{"id":"CVE-2023-47111","published":"2023-11-08T21:42:27Z","modified":"2024-09-12T18:59:25Z","title":"ZITADEL race condition in lockout policy execution","vendor":"zitadel","product":"zitadel","tier":"tail","description":{"text":"ZITADEL provides identity infrastructure. 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`. This vulnerability has been patched in versions 2.40.5 and 2.38.3.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.51396,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-7h8m-vrxx-vr4m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zitadel/zitadel/commit/22e2d5599918864877e054ebe82fb834a5aa1077","tags":["x_refsource_MISC"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.38.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.40.5","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.28},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"zitadel","affectedVersions":[{"vendor":"zitadel","product":"zitadel","versions":[">= 2.39.0, < 2.40.5","< 2.38.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-04T14:23:18.808321Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/zitadel/zitadel","vulnerableRanges":[">=2.39.0, <2.40.5","<2.38.3"],"patched":["2.40.5","2.38.3"],"from":["GHSA-7h8m-vrxx-vr4m"],"provenance":"source"}],"summary":{"text":"ZITADEL, an identity infrastructure product, has a race condition in how its lockout policy is enforced: the failed-password counter is checked without proper synchronisation, so the lockout limit can be bypassed. An unauthenticated remote attacker over the network, requiring no user interaction and no special configuration beyond a lockout policy being set, can send multiple password checks in parallel to attempt more guesses than the configured maximum allows before the account is locked.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:36Z"},"euvd":{"id":"EUVD-2023-2909","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zitadel-cve-2023-47111","children":[{"from":"CVE-2023-47111","to":"CVE-2024-41952","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/command/user_human_password.go"],"commits":["https://github.com/zitadel/zitadel/commit/22e2d5599918864877e054ebe82fb834a5aa1077","https://github.com/zitadel/zitadel/commit/0ab0c645ef914298c343fa39cccb1290aba48bf6","https://github.com/zitadel/zitadel/commit/3c7d12834e32426416235b9e3374be0f4b9380b8"],"basis":"rarely changed file"}]},{"from":"CVE-2023-47111","to":"CVE-2025-64102","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/command/user_human_password.go","internal/command/user_human_password_model.go"],"commits":["https://github.com/zitadel/zitadel/commit/22e2d5599918864877e054ebe82fb834a5aa1077","https://github.com/zitadel/zitadel/commit/b8db8cdf9cc8ea13f461758aef12457f8b7d972a"],"basis":"shared function","functions":["HumanCheckPassword"]}]}],"packageHistory":[{"cve":"CVE-2022-36051","published":"2022-08-31","fixed":"2.2.0","kev":false},{"cve":"CVE-2023-22492","published":"2023-01-11","fixed":"2.17.3","kev":false},{"cve":"CVE-2023-44399","published":"2023-10-10","fixed":"2.37.3","kev":false,"link":{"from":"CVE-2023-44399","to":"CVE-2023-47111","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel","fromFixed":"2.37.3","toFixed":"2.38.3","daysApart":29}]}},{"cve":"CVE-2023-47111","published":"2023-11-08","fixed":"2.40.5","kev":false},{"cve":"CVE-2023-49097","published":"2023-11-30","fixed":"2.41.6","kev":false,"link":{"from":"CVE-2023-47111","to":"CVE-2023-49097","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel","fromFixed":"2.40.5","toFixed":"2.40.10","daysApart":22}]}},{"cve":"CVE-2024-28197","published":"2024-03-11","fixed":"2.45.1","kev":false},{"cve":"CVE-2024-28855","published":"2024-03-18","fixed":"2.47.4","kev":false}],"package":"Go:github.com/zitadel/zitadel"}}