Insecure Temporary File Affecting horovod package, versions [,0.24.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.96% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-HOROVOD-2436651
  • published30 Mar 2022
  • disclosed29 Mar 2022
  • creditJamie Slome, Abin Shahab

Introduced: 29 Mar 2022

CVE-2022-0315  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade horovod to version 0.24.0 or higher.

Overview

horovod is a Distributed training framework for TensorFlow, Keras, PyTorch, and Apache MXNet.

Affected versions of this package are vulnerable to Insecure Temporary File via the tempfile.mktemp() function. When a jsrun rank file is created with mktemp, it can be hijacked by another process to read or manipulate the content.

CVSS Base Scores

version 3.1