Advisory

PYSEC-2024-243

Also known as: BIT-mlflow-2024-3573, CVE-2024-3573, GHSA-hq88-wg7q-gp4g

Summary

The record has no summary.

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: CVSS v3 score 9.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Dates

Published
2024-04-16 00:15 UTC
Modified
2026-06-10 17:01 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: PyPA Advisory Database · CC BY 4.0

Sources & licences