{"schemaVersion":3,"id":"CVE-2024-27134","aliases":["GHSA-qpgc-w4mg-6v92","BIT-mlflow-2024-27134","PYSEC-2024-224"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-11-25T13:48:05.117Z","modified":"2024-11-25T14:23:59.324Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00121,"percentile":0.01768,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00121},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00121,"percentile":0.01768}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00121,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00121,"percentile":0.01768}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"lfprojects","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.0","eol":null,"hubHref":"/vendor/lfprojects/mlflow"},{"vendor":"PyPI","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mlflow","purlType":"pypi","versions":[{"text":"< 2.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/mlflow/mlflow/pull/10874","label":"github.com/mlflow/mlflow/pull/10874","hostname":"github.com","tags":["Patch","WEB","FIX","REPORT","Issue Tracking"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27134","label":"nvd.nist.gov/vuln/detail/CVE-2024-27134","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b","label":"github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/mlflow/mlflow","label":"github.com/mlflow/mlflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-qpgc-w4mg-6v92","label":"github.com/advisories/GHSA-qpgc-w4mg-6v92","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-11-25T13:48:05.117Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-25T14:23:59.324Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:47:05.269Z","stale":false,"partial":false}}