{"id":"CVE-2024-1560","published":"2024-04-16T00:00:13Z","modified":"2024-08-09T20:00:20Z","title":"Path Traversal Vulnerability in mlflow/mlflow","vendor":"mlflow","product":"mlflow/mlflow","tier":"tail","description":{"text":"A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is due to an extra unquote operation in the `delete_artifacts` function of `local_artifact_repo.py`, which fails to properly sanitize user-supplied paths. The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00856,"percentile":0.59285,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":11.86},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mlflow","affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-09T19:53:39.821565Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<=2.9.2"],"patched":[],"from":["GHSA-5mvj-wmgj-7q8c","PYSEC-2026-1641"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1104","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mlflow-mlflow-cve-2023-1177","parents":[{"from":"CVE-2023-6831","to":"CVE-2024-1560","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.","from":"CVE.org","in":"CVE-2024-1560"}]}]}}