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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.11% (45th 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 Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • 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 Scores

version 3.1