CVE-2024-3573: Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow
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 'islocaluri' 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-3573?
CVE-2024-3573 is classified as a medium severity vulnerability due to the risk of Local File Inclusion allowing attackers to read arbitrary files.
How do I fix CVE-2024-3573?
To fix CVE-2024-3573, update the mlflow package to version 2.10.0 or later.
What type of vulnerability is CVE-2024-3573?
CVE-2024-3573 is a Local File Inclusion (LFI) vulnerability affecting the mlflow software.
What causes the CVE-2024-3573 vulnerability?
CVE-2024-3573 is caused by improper parsing of URIs in the 'is_local_uri' function, which fails to handle certain URI schemes correctly.
What versions of mlflow are affected by CVE-2024-3573?
All versions of mlflow prior to 2.10.0 are affected by CVE-2024-3573.