PT-2024-18131 · Mlflow · Mlflow

Published

2024-04-15

·

Updated

2025-02-04

·

CVE-2024-1560

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions mlflow versions prior to 2.9.3
Description A path traversal issue exists in the artifact deletion functionality of the mlflow repository. This is due to an extra unquote operation in the delete artifacts function of local artifact repo.py, which fails to properly sanitize user-supplied paths. Attackers can bypass path validation by exploiting the double decoding process in the delete artifact mlflow artifacts handler and local file uri to path function, allowing for the deletion of arbitrary directories on the server's filesystem.
Recommendations For versions prior to 2.9.3, update to version 2.9.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the delete artifacts function in local artifact repo.py to minimize the risk of exploitation. Additionally, avoid using the local file uri to path function with untrusted input until the issue is resolved.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

BIT-MLFLOW-2024-1560
CVE-2024-1560
GHSA-5MVJ-WMGJ-7Q8C

Affected Products

Mlflow