Race Condition Affecting wandb package, versions [,0.15.12)
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
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.