Browse / AI Framework and Platform Flaws / CVE-2023-30172
mflow vulnerable to directory traversal
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Path traversal and file access
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.0% chance of exploitation in 30 days
How it works, in short
The MLflow get-artifact endpoint takes an unrestricted path parameter, so traversal sequences let callers read arbitrary files on the server. (Our summary, written by a model. The source text is below.)
Details
A directory traversal vulnerability in the /get-artifact API method of the mlflow platform prior to v2.0.0 allows attackers to read arbitrary files on the server via the path parameter.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-30172
- https://github.com/mlflow/mlflow/issues/7166
- https://github.com/mlflow/mlflow/issues/7166#issuecomment-1541543234
- https://github.com/mlflow/mlflow/pull/7170
- https://github.com/mlflow/mlflow/commit/ac4b697bb0bb8a331944dca63f4235b4bf602ab8
- https://github.com/mlflow/mlflow
- https://github.com/mlflow/mlflow/commits/v2.0.0?after=00c3b0a350a28c25b16fbb7feddb8147a919ce18+69&branch=v2.0.0&qualified_name=refs%2Ftags%2Fv2.0.0
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2023-70.yaml
Source: GitHub Advisory Database, used under CC BY 4.0.