Browse / AI Framework and Platform Flaws / CVE-2024-27134
MLflow's excessive directory permissions allow local privilege escalation
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.1% chance of exploitation in 30 days
How it works, in short
Overly broad directory permissions let a local user win a race condition and escalate privileges while spark_udf runs. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27134
- https://github.com/mlflow/mlflow/pull/10874
- https://github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b
- https://github.com/mlflow/mlflow
Source: GitHub Advisory Database, used under CC BY 4.0.