{"id":"CVE-2024-1560","state":"PUBLISHED","title":"Path Traversal Vulnerability in mlflow/mlflow","description":"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.","publishedAt":"2024-04-16T00:00:13.649Z","updatedAt":"2024-08-09T20:00:20.571Z","severity":{"score":8.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["mlflow mlflow/mlflow"],"affected":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/1xxx/CVE-2024-1560.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-1560","state":"PUBLISHED","datePublished":"2024-04-16T00:00:13.649Z","dateUpdated":"2024-08-09T20:00:20.571Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-02-15T19:02:52.076Z"},"containers":{"cna":{"title":"Path Traversal Vulnerability in mlflow/mlflow","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-04-16T11:10:51.689Z"},"source":{"advisory":"4a34259c-3c8f-4872-b178-f27fbc876b98","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T18:40:21.396Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mlflow","product":"mlflow","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.9.2","versionType":"custom"}],"cpes":["cpe:2.3:a:mlflow:mlflow:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-09T19:53:39.821565Z","id":"CVE-2024-1560","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-09T20:00:20.571Z"}}]}}}