Browse / Unsafe Model Loading and Supply Chain / CVE-2023-6940
mlflow Command Injection vulnerability
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the source)
- Technique
- Code and command execution
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 1.2% chance of exploitation in 30 days
How it works, in short
A crafted MLflow configuration file, once downloaded and loaded, injects shell commands that run on the victim's machine. (Our summary, written by a model. The source text is below.)
Details
with only one user interaction(download a malicious config), attackers can gain full command execution on the victim system.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-6940
- https://github.com/mlflow/mlflow/pull/10676
- https://github.com/mlflow/mlflow/commit/5139b1087d686fa52e2b087e09da66aff86297b1
- https://github.com/mlflow/mlflow/commit/a98a341a7222f894b7735db575ad9311ecaba4e3
- https://github.com/mlflow/mlflow
- https://github.com/mlflow/mlflow/commits/v2.9.2
- https://huntr.com/bounties/c6f59480-ce47-4f78-a3dc-4bd8ca15029c
Source: GitHub Advisory Database, used under CC BY 4.0.