Description
In mlflow version 2.20.3, the temporary directory used for creating Python virtual environments is assigned insecure world-writable permissions (0o777). This vulnerability allows an attacker with write access to the `/tmp` directory to exploit a race condition and overwrite `.py` files in the virtual environment, leading to arbitrary code execution. The issue is resolved in version 3.4.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mlflow | mlflow/mlflow | unspecified – < 3.4.0 | 3.4.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | mlflow | < 3.4.0rc0 | 3.4.0rc0 | GHSA-4x5p-f36r-mxxr |