Race Condition Affecting wandb package, versions [,0.15.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-WANDB-7856108
  • published 1 Sep 2024
  • disclosed 1 Sep 2024
  • credit Unknown

Introduced: 1 Sep 2024

CVE NOT AVAILABLE CWE-362 Open this link in a new tab

How to fix?

Upgrade wandb to version 0.15.12 or higher.

Overview

wandb is an A CLI and library for interacting with the Weights and Biases API.

Affected versions of this package are vulnerable to Race Condition in the thread cleanup behavior in the finish_thread_id() function in agent.py. An attacker can access job status from an unauthorized thread if they are accessed or modified at the same time, which could cause data corruption.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None