GHSA-hq88-wg7q-gp4g

mlflow vulnerable to Path Traversal

At a glance

Published
Updated
CVE
CVE-2024-3573
Aliases
BIT-mlflow-2024-3573, PYSEC-2024-243
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Description

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.

Affected packages

PackageVersions
PyPI · mlflowintroduced 0, fixed 2.10.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database