GitHub Advisoryadvisory · PyPI

GHSA-hq88-wg7q-gp4g mlflow vulnerable to Path Traversal

CRITICAL Published 2024-04-16 Modified 2025-04-08 Official page ↗
Aliases
CVE-2024-3573
Ecosystem
PyPI
Packages
mlflow
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Weaknesses
CWE-29
Reviewed
2024-04-16

Affected packages

• PyPI mlflow: < 2.10.0 → fixed in 2.10.0

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-29 Path Traversal: '\..\filename' weakness

References