Advisory

GHSA-hq88-wg7q-gp4g

Also known as: BIT-mlflow-2024-3573, CVE-2024-3573, PYSEC-2024-243

Summary

mlflow vulnerable to Path Traversal

Details

mlflow/mlflow is vulnerable to Local File Inclusion (LFI) due to improper parsing of URIs, allowing attackers to bypass checks and read arbitrary files on the system. The issue arises from the 'is_local_uri' function's failure to properly handle URIs with empty or 'file' schemes, leading to the misclassification of URIs as non-local. Attackers can exploit this by crafting malicious model versions with specially crafted 'source' parameters, enabling the reading of sensitive files within at least two directory levels from the server's root.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-04-16 00:30 UTC
Modified
2025-04-08 22:31 UTC

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.0 (ecosystem)

Fixed versions

2.10.0

Fix

  • Fixed version 2.10.0
    pip install --upgrade mlflow==2.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences