All reports
High

Use of insecure temporary file in Horovod

Affected versions

Version ranges need review.

Affected versions
>= 0, < 0.24.0
Fixed version
0.24.0
Affected versions
Unknown
Fixed version
0.24.0

Exploitation

CVE-2022-0315

Probability of exploitation in the next 30 days: 0.96%

FIRST EPSS · 2026-11-24

Description

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 binding_args 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:

Links

Credits

  • JamieSlome
  • ashahab