Race Condition Affecting ray package, versions [,1.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

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-RAY-2308017
  • published 2 Dec 2021
  • disclosed 2 Dec 2021
  • credit Unknown

Introduced: 2 Dec 2021

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

How to fix?

Upgrade ray to version 1.8.0 or higher.

Overview

ray is an A system for parallel and distributed Python that unifies the ML ecosystem.

Affected versions of this package are vulnerable to Race Condition via stats_fn when using multi-gpu. That causes an issue for any algorithm in which the loss function stores values as members in the policy for later retrieval.

CVSS Scores

version 3.1
Expand this section

Snyk

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