{"id":"CVE-2022-0315","aliases":["GHSA-47wv-vhj2-g66m","PYSEC-2022-175"],"url":"https://o3.security/vulnerability/CVE-2022-0315","summary":"Insecure Temporary File in horovod/horovod","details":"### 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)","published":"2022-03-24T08:30:14Z","modified":"2026-08-12T03:51:14.794413186Z","cvss":{"score":8.2,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"horovod","fixedVersion":"0.24.0"}],"fix":{"url":"https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41","label":"horovod/horovod@b96ecae"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/7e50397b-dd63-4bb5-b56d-704094a7da45"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0315.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0315"},{"type":"FIX","url":"https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41"},{"type":"WEB","url":"https://github.com/horovod/horovod/security/advisories/GHSA-47wv-vhj2-g66m"},{"type":"WEB","url":"https://github.com/horovod/horovod/pull/3358"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-47wv-vhj2-g66m"},{"type":"PACKAGE","url":"https://github.com/horovod/horovod"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/horovod/PYSEC-2022-175.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.794413186Z"}}