Time-of-check Time-of-use (TOCTOU) Race Condition Affecting mlflow package, versions [,2.16.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (11th percentile)

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 IDSNYK-PYTHON-MLFLOW-8400874
  • published26 Nov 2024
  • disclosed25 Nov 2024
  • creditUnknown

Introduced: 25 Nov 2024

NewCVE-2024-27134  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade mlflow to version 2.16.0 or higher.

Overview

mlflow is a platform to streamline machine learning development, including tracking experiments, packaging code into reproducible runs, and sharing and deploying models.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition due to excessive directory permissions when the spark_udf() MLflow API is called. An attacker can gain elevated permissions by exploiting this vulnerability.

CVSS Scores

version 4.0
version 3.1