CVE-2024-2032 Race Condition Vulnerability in zenml-io/zenml
Attackers can create duplicate usernames via concurrent requests, causing data inconsistencies and potential authentication bypasses in ZenML.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-2032?
CVE-2024-2032 is a low-severity vulnerability in zenml-io/zenml, published on 6 Jun 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A race condition vulnerability exists in zenml-io/zenml versions up to and including 0.55.3, which allows for the creation of multiple users with the same username when requests are sent in parallel. This issue was fixed in version 0.55.5. The vulnerability arises due to insufficient handling of concurrent user creation requests, leading to data inconsistencies and potential authentication problems. Specifically, concurrent processes may overwrite or corrupt user data, complicating user identification and posing security risks. This issue is particularly concerning for APIs that rely on usernames as input parameters, such as PUT /api/v1/users/test_race, where it could lead to further complications.
Which versions are affected by CVE-2024-2032?
3 open source packages ship an affected version, including zenml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
zenml PyPI | All versions | 0.55.5 |
zenml PyPI | All versions | 0.55.5 |
zenml PyPI | All versions | 0.55.5 |
Products include Zenml Zenml.
How do I fix CVE-2024-2032?
Upgrade zenml to 0.55.5 or later.
Is CVE-2024-2032 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2032 exists.
Other vulnerabilities in zenml-io/zenml
Sources
Also known as GHSA-c546-8jmq-hprj, PYSEC-2024-105.