MLflowPublished 16 Apr 2024NVD status: Analyzed

CVE-2024-3573

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.

ComponentMLflow
Severitycritical (CVSS 9.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Published (NVD)2024-04-16
Last modified2026-06-17
Affected versions
< 2.10.0
from the GitHub-reviewed advisory GHSA-hq88-wg7q-gp4g
Fixed in2.10.0
WeaknessCWE-29CWE-22
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-hq88-wg7q-gp4g.

NVD 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.

What to do

  • Upgrade MLflow to 2.10.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more