CVE-2024-8859: Path Traversal in mlflow/mlflow
A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. When users configure and use the dbfs service, concatenating the URL directly into the file protocol results in an arbitrary file read vulnerability. This issue occurs because only the path part of the URL is checked, while parts such as query and parameters are not handled. The vulnerability is triggered if the user has configured the dbfs service, and during usage, the service is mounted to a local directory.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-8859?
CVE-2024-8859 is classified as a serious vulnerability due to its potential for arbitrary file read.
How do I fix CVE-2024-8859?
To mitigate CVE-2024-8859, upgrade to MLflow version 2.17.0rc0 or later.
Which versions of MLflow are affected by CVE-2024-8859?
CVE-2024-8859 affects MLflow version 2.15.1.
What causes the vulnerability in CVE-2024-8859?
The vulnerability in CVE-2024-8859 arises from the improper handling of URLs within the dbfs service leading to path traversal.
Is there a workaround for CVE-2024-8859 before upgrading?
A temporary workaround for CVE-2024-8859 is to avoid concatenating URLs directly into the file protocol.