CVE-2024-2032: Race condition in zenml

CVE-2024-2032 · Severity: low · CVSS 3.1 · Published 2024-06-06

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.

Technologies: zenml (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-2032 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-2032 being exploited in the wild.
How severe is CVE-2024-2032?
Low severity, with a CVSS score of 3.1, published 6 June 2024.
Which products and versions are affected?
zenml (PyPI) ECOSYSTEM:introduced=0,fixed=0.55.5, GIT:introduced=0,fixed=afcaf741ef9114c9b32f722f101b97de3d8d147b|ECOSYSTEM:introduced=0,fixed=0.55.5.
Is there a fix for CVE-2024-2032?
Yes. zenml (PyPI): upgrade to 0.55.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-2032?
Check whether you run zenml (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • zenml (PyPI): upgrade to 0.55.5 or later
    pip install "zenml>=0.55.5"

Affected products

  • zenml (PyPI) ECOSYSTEM:introduced=0,fixed=0.55.5, GIT:introduced=0,fixed=afcaf741ef9114c9b32f722f101b97de3d8d147b|ECOSYSTEM:introduced=0,fixed=0.55.5

Identifiers

  • CVE-2024-2032
  • GHSA-c546-8jmq-hprj
  • PYSEC-2024-105

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.