PT-2024-18129 · Mlflow · Mlflow

Published

2024-04-15

·

Updated

2025-02-04

·

CVE-2024-1558

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions mlflow/mlflow (affected versions not specified)
Description A path traversal issue exists due to improper validation of the source parameter in the create model version() function. This allows attackers to bypass checks by the validate non local source contains relative paths(source) function, enabling arbitrary file read access on the server. The issue arises from handling unquoted URL characters and misusing the original source value for model version creation, exposing sensitive files when interacting with the "/model-versions/get-artifact" handler.
Recommendations As a temporary workaround, consider disabling the create model version() function until a patch is available. Restrict access to the server/handlers.py module to minimize the risk of exploitation. Avoid using the source parameter in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

BIT-MLFLOW-2024-1558
CVE-2024-1558
GHSA-J62R-WXQQ-F3GF

Affected Products

Mlflow