Race Condition Affecting ray package, versions [,1.8.0)


Severity

Recommended
0.0
medium
0
10

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

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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-RAY-2308017
  • published2 Dec 2021
  • disclosed2 Dec 2021
  • creditUnknown

Introduced: 2 Dec 2021

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