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.
The problem has been fixed in b96ecae4.
The rank file is not created when binding_args
are provided in the Settings
instance.
Please see https://github.com/horovod/horovod/pull/3358 for details.
If you have any questions or comments about this advisory: * Open an issue in https://github.com/horovod/horovod
{ "nvd_published_at": "2022-03-24T09:15:00Z", "cwe_ids": [ "CWE-377", "CWE-668" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-03-29T19:18:32Z" }