{"id":"CVE-2022-0315","aliases":["CVE-2022-0315","GHSA-47wv-vhj2-g66m","PYSEC-2022-175"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure Temporary File in horovod/horovod","summary":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un Archivo Temporal no Seguro en el repositorio de GitHub horovod/horovod versiones anteriores a 0.24.0","source":"nvd"}],"published":"2022-03-24T08:30:14.000Z","modified":"2026-06-17T04:20:22.167Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-377","CWE-668"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.24.0","status":"affected"}],"vendor":"horovod","product":"horovod/horovod","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"horovod","purl":"pkg:pypi/horovod","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.24.0"}],"vendor":"horovod","product":"horovod","cpe":"cpe:2.3:a:horovod:horovod:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"horovod","purl":"pkg:pypi/horovod","repo":"https://github.com/horovod/horovod","source":"pysec"}],"references":[{"url":"https://huntr.dev/bounties/7e50397b-dd63-4bb5-b56d-704094a7da45","tags":["issue-tracking","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/horovod/horovod/security/advisories/GHSA-47wv-vhj2-g66m","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0315","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/horovod/horovod/pull/3358","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-47wv-vhj2-g66m","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/horovod/horovod","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/horovod/PYSEC-2022-175.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0315","url":"https://www.cve.org/CVERecord?id=CVE-2022-0315","licence":"CVE Terms of Use","modified":"2024-08-02T23:25:40.485Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-47wv-vhj2-g66m","url":"https://github.com/advisories/GHSA-47wv-vhj2-g66m","licence":"CC-BY-4.0","modified":"2024-09-20T21:43:02.531Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0315","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0315","licence":"Public domain","modified":"2026-06-17T04:20:22.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-175","url":"https://osv.dev/vulnerability/PYSEC-2022-175","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:31.934Z"}],"updatedAt":"2026-11-25T22:58:10.252Z","epss":{"score":0.00959,"percentile":0.62518,"date":"2026-12-01T12:00:22.000Z"}}