Race Condition Affecting wandb package, versions [,0.12.12)


Severity

0.0
medium
0
10

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-2849309
  • published 31 May 2022
  • disclosed 31 May 2022
  • credit Unknown

Introduced: 31 May 2022

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

How to fix?

Upgrade wandb to version 0.12.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 as a result of using the tempfile.mktemp() fuctions that returns a file name, which can potentially allow a malicious actor the replace the file before it is used with something else.

CVSS Scores

version 3.1
Expand this section

Snyk

5.4 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None