Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai

CVE-2024-3573Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow

Critical 9.3

In plain English

A critical-severity security flaw in mlflow/mlflow from mlflow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.3Critical
Exploit odds (30 days)0.7%top 45.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
PyPImlflow2.10.0GHSA-hq88-wg7q-gp4g
PyPImlflow2.10.0PYSEC-2024-243

Affected products (as reported)

VendorProductVersions
mlflow mlflow/mlflow unspecified – before 2.10.0

Weakness: CWE-29 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

References