Skip to content
OpenAdvisories
Critical · 9.3 CVE-2024-3573 BIT-mlflow-2024-3573EUVD-2024-1218GHSA-hq88-wg7q-gp4gPYSEC-2024-243

Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow

Published Apr 16, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
mlflow mlflow/mlflow unspecified – < 2.10.0 2.10.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mlflow < 2.10.0 2.10.0 GHSA-hq88-wg7q-gp4g

References