Use of insecure temporary file in Horovod
Description
Published by the National Vulnerability Database
Mar 24, 2022
Published to the GitHub Advisory Database
Mar 29, 2022
Reviewed
Mar 29, 2022
Last updated
Sep 20, 2024
Impact
The insecure
tempfile.mktemp()
is used when Horovod is run in an LSF job withjsrun
. In that situation, a jsrun rank file is created withmktemp
, 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 theSettings
instance.References
Please see horovod/horovod#3358 for details.
For more information
If you have any questions or comments about this advisory:
References