CVE-2022-0315
Insecure Temporary File in horovod/horovod
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.2
Insecure Temporary File in horovod/horovod
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
- Record
CVE-2022-0315- CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-377
- Updated
- 2026-11-02
EUVDEUVD-2022-0119
8.2
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
- Record
EUVD-2022-0119- CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-47wv-vhj2-g66m
8.8
Use of insecure temporary file in Horovod
Impact
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.
Patches
The problem has been fixed in b96ecae4.
Workarounds
The rank file is not created when binding_args are provided in the Settings instance.
References
Please see https://github.com/horovod/horovod/pull/3358 for details.
For more information
If you have any questions or comments about this advisory:
- Open an issue in https://github.com/horovod/horovod
- Record
GHSA-47wv-vhj2-g66m- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-377, CWE-668
- Updated
- 2026-11-02
NVD
7.5
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
- Record
CVE-2022-0315- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-377, CWE-668
- Updated
- 2026-11-02
OSV
8.2
Insecure Temporary File in horovod/horovod
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
- Record
CVE-2022-0315- CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-377
- Updated
- 2026-11-02
OSVGHSA-47wv-vhj2-g66m
8.8
Use of insecure temporary file in Horovod
Impact
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.
Patches
The problem has been fixed in b96ecae4.
Workarounds
The rank file is not created when binding_args are provided in the Settings instance.
References
Please see https://github.com/horovod/horovod/pull/3358 for details.
For more information
If you have any questions or comments about this advisory:
- Open an issue in https://github.com/horovod/horovod
- Record
GHSA-47wv-vhj2-g66m- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 8.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-377, CWE-668
- Updated
- 2026-11-02
OSVPYSEC-2022-175 No score
Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.
- Record
PYSEC-2022-175- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
horovodPyPI |
before 0.24.0 | 0.24.0 |
horovodPyPI |
before 0.24.0, plus listed versions 0.10.00.10.10.10.20.11.00.11.1 Show 45 moreShow less0.11.20.11.30.12.00.12.10.13.00.13.10.13.100.13.110.13.20.13.30.13.40.13.50.13.60.13.70.13.80.14.00.14.10.15.00.15.10.15.20.16.00.16.10.16.20.16.30.16.40.18.00.18.10.18.20.19.00.19.10.19.20.19.30.19.40.19.50.20.00.20.10.20.20.20.30.21.00.21.10.21.20.21.30.22.00.22.10.23.0 |
0.24.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-0315 is a high vulnerability (CVSS 8.2) in Horovod, published March 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in horovod 0.24.0.
References
huntr.dev/bounties/7e50397b-dd63-4bb5-b56d-704094a7da45
github.com/horovod/horovod/commit/b96ecae4dc69fc0a83c7c2d3f1dde600c20a1b41
github.com/horovod/horovod/security/advisories/GHSA-47wv-vhj2-g66m
nvd.nist.gov/vuln/detail/CVE-2022-0315
github.com/horovod/horovod/pull/3358
github.com/pypa/advisory-database/tree/main/vulns/horovod/PYSEC-2022-175.yaml
github.com/advisories/GHSA-47wv-vhj2-g66m
github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0315.json
github.com/horovod/horovod
Left out here: 13 versions. The JSON record has them.