Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zenml
  4. ›
  5. CVE-2024-2032

CVE-2024-2032: Race condition in zenml

June 6, 2024 (updated October 11, 2024)

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.

References

  • github.com/advisories/GHSA-c546-8jmq-hprj
  • github.com/zenml-io/zenml
  • github.com/zenml-io/zenml/commit/afcaf741ef9114c9b32f722f101b97de3d8d147b
  • huntr.com/bounties/6199cd5d-611f-4ea9-96c5-52a952ba5a56
  • nvd.nist.gov/vuln/detail/CVE-2024-2032

Code Behaviors & Features

Detect and mitigate CVE-2024-2032 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.55.5

Fixed versions

  • 0.55.5

Solution

Upgrade to version 0.55.5 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-366: Race Condition within a Thread

Source file

pypi/zenml/CVE-2024-2032.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.