Vulnerabilities · 2024 · Lfprojects
CVE-2024-1558
Lfprojects Mlflow vulnerability
A path traversal vulnerability exists in the `_create_model_version()` function within `server/handlers.py` of the mlflow/mlflow repository, due to improper validation of the `source` parameter. Attackers can exploit this vulnerability by crafting a `source` parameter that bypasses the `_validate_non_local_source_contains_relative_paths(source)` function's checks, allowing for arbitrary file read access on the server. The issue arises from the handling of unquoted URL characters and the subsequent misuse of the original `source` value for model version creation, leading to the exposure of sensitive files when interacting with the `/model-versions/get-artifact` handler.
Affected products
Mlflow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lfprojects Mlflow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Lfprojects products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.