VDB
KO
CRITICAL 9.3

PYSEC-2024-243

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / mlflow
Introduced in: 0 Fixed in: 438a450714a3ca06285eeea34bdc6cf79d7f6cbc
Fix pip install --upgrade 'mlflow>=438a450714a3ca06285eeea34bdc6cf79d7f6cbc'

References