{"id":"CVE-2022-0315","aliases":["EUVD-2022-0119","GHSA-47wv-vhj2-g66m","PYSEC-2022-175"],"status":"published","title":"Insecure Temporary File in horovod/horovod","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","severity":{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00959,"percentile":0.61755,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-377","CWE-668"],"published":"2022-03-24T08:30:14Z","modified":"2026-10-28T02:30:53Z","fixes":[{"ecosystem":"PyPI","package":"horovod","fixed_in":["0.24.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"horovod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"horovod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13.0","0.13.1","0.13.10","0.13.11","0.13.2","0.13.3","0.13.4","0.13.5","0.13.6","0.13.7","0.13.8","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.18.0","0.18.1","0.18.2","0.19.0","0.19.1","0.19.2","0.19.3","0.19.4","0.19.5","0.20.0","0.20.1","0.20.2","0.20.3","0.21.0","0.21.1","0.21.2","0.21.3","0.22.0","0.22.1","0.23.0","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"]},{"source":"osv","ecosystem":"PyPI","package":"horovod","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13.0","0.13.1","0.13.10","0.13.11","0.13.2","0.13.3","0.13.4","0.13.5","0.13.6","0.13.7","0.13.8","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.18.0","0.18.1","0.18.2","0.19.0","0.19.1","0.19.2","0.19.3","0.19.4","0.19.5","0.20.0","0.20.1","0.20.2","0.20.3","0.21.0","0.21.1","0.21.2","0.21.3","0.22.0","0.22.1","0.23.0","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"]}],"products":[{"vendor":"horovod","product":"horovod"},{"vendor":"horovod","product":"horovod/horovod"}],"references":[{"url":"https://huntr.dev/bounties/7e50397b-dd63-4bb5-b56d-704094a7da45","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/horovod/horovod/security/advisories/GHSA-47wv-vhj2-g66m","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0315","tags":["advisory"]},{"url":"https://github.com/horovod/horovod/pull/3358","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/horovod/PYSEC-2022-175.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-47wv-vhj2-g66m","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0315.json","tags":["advisory"]},{"url":"https://github.com/horovod/horovod","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-0315","title":"Insecure Temporary File in horovod/horovod","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","status":"published","published":"2022-03-24T08:30:14Z","modified":"2024-08-02T23:25:40.485Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:34:41.34666Z"}],"euvd":[{"id":"EUVD-2022-0119","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","status":"published","published":"2022-03-24T08:30:14Z","modified":"2024-08-02T23:25:40Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-03T03:26:06.080876Z"}],"ghsa":[{"id":"GHSA-47wv-vhj2-g66m","title":"Use of insecure temporary file in Horovod","description":"### Impact\nThe insecure `tempfile.mktemp()` is used when Horovod is run in an LSF job with `jsrun`. In that situation, a jsrun rank file is created with `mktemp`, which could be hijacked by another process to read or manipulate the content.\n\nThis issue does not impact the use of MPI, Gloo, Spark or Ray.\n\n### Patches\nThe problem has been fixed in [b96ecae4](https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41).\n\n### Workarounds\nThe rank file is not created when `binding_args` are provided in the `Settings` instance.\n\n### References\nPlease see https://github.com/horovod/horovod/pull/3358 for details.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [https://github.com/horovod/horovod](https://github.com/horovod/horovod/issues/new/choose)","status":"published","published":"2022-03-29T19:18:32Z","modified":"2024-09-20T21:30:27Z","cvss":[{"version":"4.0","score":8.8,"vector":"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","level":"high"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-377","CWE-668"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2022-0315","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","status":"published","published":"2022-03-24T09:15:07.95Z","modified":"2026-06-17T04:20:22.167Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-377","CWE-668"],"updated_at":"2026-11-02T14:07:14.24948Z"}],"osv":[{"id":"CVE-2022-0315","title":"Insecure Temporary File in horovod/horovod","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","status":"published","published":"2022-03-24T08:30:14Z","modified":"2026-10-28T02:30:53.849181675Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"GHSA-47wv-vhj2-g66m","title":"Use of insecure temporary file in Horovod","description":"### Impact\nThe insecure `tempfile.mktemp()` is used when Horovod is run in an LSF job with `jsrun`. In that situation, a jsrun rank file is created with `mktemp`, which could be hijacked by another process to read or manipulate the content.\n\nThis issue does not impact the use of MPI, Gloo, Spark or Ray.\n\n### Patches\nThe problem has been fixed in [b96ecae4](https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41).\n\n### Workarounds\nThe rank file is not created when `binding_args` are provided in the `Settings` instance.\n\n### References\nPlease see https://github.com/horovod/horovod/pull/3358 for details.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [https://github.com/horovod/horovod](https://github.com/horovod/horovod/issues/new/choose)","status":"published","published":"2022-03-29T19:18:32Z","modified":"2024-09-20T21:43:02.531163Z","cvss":[{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"},{"version":"4.0","score":8.8,"vector":"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","level":"high"}],"cwes":["CWE-377","CWE-668"],"updated_at":"2026-11-02T15:46:36.782754Z"},{"id":"PYSEC-2022-175","description":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","status":"published","published":"2022-03-24T09:15:00Z","modified":"2023-11-08T04:07:31.934342Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
