MLflowGHSA-vqj2-4v8m-8vrq
Insecure Temporary File in mlflow
High8.2CVE-2022-0736 · Published Feb 24, 2022 · updated Feb 21, 2025
mlflow prior to 1.23.1 contains an insecure temporary file. The insecure function `tempfile.mktemp()` is deprecated and `mkstemp()` should be used instead.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| mlflow PyPI | < 1.23.1 | 1.23.1 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-377, CWE-668
- Also known as
- BIT-mlflow-2022-0736, CVE-2022-0736, PYSEC-2022-28
- nvd.nist.gov/vuln/detail/CVE-2022-0736
- github.com/mlflow/mlflow/commit/61984e6843d2e59235d82a580c529920cd8f3711
- github.com/advisories/GHSA-vqj2-4v8m-8vrq
- github.com/mlflow/mlflow
- github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2022-28.yaml
- huntr.dev/bounties/e5384764-c583-4dec-a1d8-4697f4e12f75
More MLflow advisories
All MLflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 172023 | mlflow Path Traversal vulnerability | Critical9.8 | 2.3.0 |
| May 112023 | mflow vulnerable to directory traversal | High7.5 | 2.0.0rc0 |
| May 12023 | Remote file access vulnerability in `mlflow server` and `mlflow ui` CLIs | Critical | 2.3.1 |
| Apr 282023 | Relative path traversal in mlflow | High10.0 | 2.3.1 |
| Mar 242023 | Remote file existence check vulnerability in `mlflow server` and `mlflow ui` CLIs | Medium3.3 | 2.2.1 |
| Mar 242023 | mlflow is vulnerable to remote file access in `mlflow server` and `mlflow ui` CLIs | Critical9.8 | 2.2.1 |