{"id":"CVE-2024-27134","state":"PUBLISHED","title":"Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf","description":"Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when the spark_udf() MLflow API is called.","publishedAt":"2024-11-25T13:48:05.117Z","updatedAt":"2024-11-25T14:23:59.324Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"JFROG"},"assigner":"JFROG","products":["mlflow"],"affected":[{"packageName":"mlflow","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.16.0","versionType":"python"}],"collectionURL":"https://pypi.python.org"}],"references":["https://github.com/mlflow/mlflow/pull/10874"],"weaknesses":["CWE-367","CWE-276"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27134.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-27134","state":"PUBLISHED","datePublished":"2024-11-25T13:48:05.117Z","dateUpdated":"2024-11-25T14:23:59.324Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2024-02-20T11:10:51.335Z"},"containers":{"cna":{"title":"Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf","descriptions":[{"lang":"en","value":"Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when the spark_udf() MLflow API is called."}],"affected":[{"packageName":"mlflow","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.16.0","versionType":"python"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://github.com/mlflow/mlflow/pull/10874","tags":["patch"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-276","description":"CWE-276 Incorrect Default Permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2024-11-25T13:48:05.117Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lfprojects","product":"mlflow","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.16.0","versionType":"custom"}],"cpes":["cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-25T14:23:17.524784Z","id":"CVE-2024-27134","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-25T14:23:59.324Z"}}]}}}