CVE-2024-3848
Description
A path traversal vulnerability exists in mlflow/mlflow version 2.11.0, identified as a bypass for the previously addressed CVE-2023-6909. The vulnerability arises from the application's handling of artifact URLs, where a '#' character can be used to insert a path into the fragment, effectively skipping validation. This allows an attacker to construct a URL that, when processed, ignores the protocol scheme and uses the provided path for filesystem access. As a result, an attacker can read arbitrary files, including sensitive information such as SSH and cloud keys, by exploiting the way the application converts the URL into a filesystem path. The issue stems from insufficient validation of the fragment portion of the URL, leading to arbitrary file read through path traversal.
How to fix
- lfprojects mlflow2.12.1 or later
- mlflow2.12.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lfprojects mlflow | v < 2.12.1 | 2.12.1 |
| mlflowPyPI | 2.9.2 ≤ v < 2.12.1, v < 2.12.1 | 2.12.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.