PyPI: mlflow
CVE-2023-2356
Safety vulnerability ID: SFTY-20230428-38887
Safety legacy ID: pyup.io-60592
Mlflow 2.3.1 includes a fix for a Relative Path Traversal vulnerability. By creating a model version through the REST API endpoint api/2.0/mlflow/registered-models/create and specifying a relative path redirection to the source argument, local server files can be accessed on the tracking server when a subsequent REST API v1.1 call is made tomodel-versions/get-artifact` and providing any path on the local file system. https://github.com/advisories/GHSA-x422-6qhv-p29g
Overview
Relative path traversal in mlflow
Advisory
Mlflow 2.3.1 includes a fix for a Relative Path Traversal vulnerability. By creating a model version through the REST API endpoint api/2.0/mlflow/registered-models/create and specifying a relative path redirection to the source argument, local server files can be accessed on the tracking server when a subsequent REST API v1.1 call is made tomodel-versions/get-artifact` and providing any path on the local file system. https://github.com/advisories/GHSA-x422-6qhv-p29g
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20230428-38887/CVE-2023-2356
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2356
- https://github.com/mlflow/mlflow/commit/f73147496e05c09a8b83d95fb4f1bf86696c6342
- https://huntr.dev/bounties/7b5d130d-38eb-4133-8c7d-0dfc9a9d9896
- https://pypi.org/project/mlflow
- https://pyup.io/changelogs/mlflow/
- https://nvd.nist.gov/vuln/detail/CVE-2023-2356
- https://github.com/mlflow/mlflow/commit/f73147496e05c09a8b83d95fb4f1bf86696c6342
- https://huntr.dev/bounties/7b5d130d-38eb-4133-8c7d-0dfc9a9d9896
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2023-68.yaml
- https://github.com/advisories/GHSA-x422-6qhv-p29g
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
