{"id":"GHSA-vqj2-4v8m-8vrq","summary":"Insecure Temporary File in mlflow","details":"mlflow prior to 1.23.1 contains an insecure temporary file. The insecure function `tempfile.mktemp()` is deprecated and `mkstemp()` should be used instead.","aliases":["BIT-mlflow-2022-0736","CVE-2022-0736","PYSEC-2022-28"],"modified":"2025-02-21T05:42:14.252193Z","published":"2022-02-24T00:00:54Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-02-24T21:42:26Z","nvd_published_at":"2022-02-23T09:15:00Z","cwe_ids":["CWE-377","CWE-668"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0736"},{"type":"WEB","url":"https://github.com/mlflow/mlflow/commit/61984e6843d2e59235d82a580c529920cd8f3711"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vqj2-4v8m-8vrq"},{"type":"PACKAGE","url":"https://github.com/mlflow/mlflow"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2022-28.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/e5384764-c583-4dec-a1d8-4697f4e12f75"}],"affected":[{"package":{"name":"mlflow","ecosystem":"PyPI","purl":"pkg:pypi/mlflow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.23.1"}]}],"versions":["0.0.1","0.1.0","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2","0.6.0","0.7.0","0.8.0","0.8.1","0.8.2","0.9.0","0.9.0.1","0.9.1","1.0.0","1.1.0","1.1.1.dev0","1.10.0","1.11.0","1.12.0","1.12.1","1.13","1.13.1","1.14.0","1.14.1","1.15.0","1.16.0","1.17.0","1.18.0","1.19.0","1.2.0","1.20.0","1.20.1","1.20.2","1.21.0","1.22.0","1.23.0","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.7.1","1.7.2","1.8.0","1.9.0","1.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-vqj2-4v8m-8vrq/GHSA-vqj2-4v8m-8vrq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"}]}