7.0high
Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf
- Severity
- 7.0high CVSS:3.1 by JFROG
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- JFROG
- Also known as
- GHSA-qpgc-w4mg-6v92BIT-MLFLOW-2024-27134PYSEC-2024-224
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mlflow | before 2.16.0 | CVE List |
| lfprojects mlflow | before 2.16.0 | CVE List, NVD |
| mlflow (PyPI) | before 2.16.0 | GitHub Advisory Database, PyPA Advisory Database |
| mlflow (Bitnami) | before 2.16.0 | Bitnami Vulnerability Database |
All scores
| JFROG | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Los permisos de directorio excesivos en MLflow provocan una escalada de privilegios locales cuando se utiliza spark_udf. Un atacante local puede aprovechar este comportamiento para obtener permisos elevados mediante un ataque ToCToU. El problema solo es relevante cuando se llama a la API spark_udf() de MLflow.
References
| https://github.com/mlflow/mlflow/pull/10874 | fix, issue-tracking, patch, report, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-27134 | advisory, web | |
| https://github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b | web | |
| https://github.com/mlflow/mlflow | package | |
| https://github.com/advisories/GHSA-qpgc-w4mg-6v92 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27134 changed 2024-11-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qpgc-w4mg-6v92 changed 2025-02-03 | CC-BY-4.0 |
| NVD | CVE-2024-27134 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-224 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-MLFLOW-2024-27134 changed 2026-09-08 | Apache-2.0 |