Race Condition Affecting wandb package, versions [,0.15.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-WANDB-7856108
  • published1 Sept 2024
  • disclosed1 Sept 2024
  • creditUnknown

Introduced: 1 Sep 2024

CVE NOT AVAILABLE CWE-362  (opens 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