High, CVSS 8.8PyPIAmendedPublished
Use of insecure temporary file in Horovod
CVE-2022-0315 · GHSA-47wv-vhj2-g66m
- Affected
- PyPI horovod < 0.24.0
- Fixed in
- 0.24.0· Vendor fix available
- Issue
- Impact The 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. This issue does not impact the use of MPI, Gloo, Spark or Ray. Patches The problem has been fixed in b96ecae4. Workarounds The rank file is not created when bindingargs are provided in the Settings instance. References Please see https://github.com/horovod/horovod/pull/3358 for details. For more information If you have any questions or comments about this advisory: Open an issue in https://github.com/horovod/horovod
Recommended action: Upgrade to 0.24.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.