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


Severity

0.0
high
0
10

    Threat Intelligence

    EPSS
    0.09% (40th 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 ID SNYK-PYTHON-HOROVOD-2436651
  • published 30 Mar 2022
  • disclosed 29 Mar 2022
  • credit Jamie Slome, Abin Shahab

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
Expand this section

Snyk

8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    High
Expand this section

NVD

7.5 high