Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. horovod
  4. ›
  5. CVE-2022-0315

CVE-2022-0315: Use of insecure temporary file in Horovod

March 29, 2022 (updated September 20, 2024)

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.

References

  • github.com/advisories/GHSA-47wv-vhj2-g66m
  • github.com/horovod/horovod
  • github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41
  • github.com/horovod/horovod/pull/3358
  • github.com/horovod/horovod/security/advisories/GHSA-47wv-vhj2-g66m
  • github.com/pypa/advisory-database/tree/main/vulns/horovod/PYSEC-2022-175.yaml
  • huntr.dev/bounties/7e50397b-dd63-4bb5-b56d-704094a7da45
  • nvd.nist.gov/vuln/detail/CVE-2022-0315

Code Behaviors & Features

Detect and mitigate CVE-2022-0315 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.24.0

Fixed versions

  • 0.24.0

Solution

Upgrade to version 0.24.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-377: Insecure Temporary File
  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

pypi/horovod/CVE-2022-0315.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.