Race Condition Affecting ray package, versions [,2.42.0)


Severity

Recommended
0.0
high
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-RAY-9055245
  • published2 Mar 2025
  • disclosed1 Mar 2025
  • creditUnknown

Introduced: 1 Mar 2025

New CVE NOT AVAILABLE CWE-362  (opens in a new tab)

How to fix?

Upgrade ray to version 2.42.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 in multi-threaded environments, attackers exploiting concurrent access can trigger unexpected behavior in MetricsLogger methods, including peek and _del_key, leading to inaccurate metric reporting and data corruption.

CVSS Scores

version 4.0
version 3.1