{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-1558","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-02-15T18:48:00.449Z","datePublished":"2024-04-16T00:00:14.626Z","dateUpdated":"2024-08-01T18:40:21.526Z"},"containers":{"cna":{"title":"Path Traversal Vulnerability in mlflow/mlflow","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-04-16T11:10:51.858Z"},"descriptions":[{"lang":"en","value":"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":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}],"source":{"advisory":"7f4dbcc5-b6b3-43dd-b310-e2d0556a8081","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"lfprojects","product":"mlflow","cpes":["cpe:2.3:a:lfprojects:mlflow:2.9.2:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"2.9.2","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-30T19:29:10.659798Z","id":"CVE-2024-1558","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-24T15:47:04.358Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T18:40:21.526Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081","tags":["x_transferred"]}]}]}}