CVE-2022-0315: Insecure Temporary File in horovod/horovod

Published Mar 24, 2022
·
Updated

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 bindingargs 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

Other sources

Insecure Temporary File in GitHub repository horovod/horovod prior to 0.24.0.

Affected Software

2 affected componentsFixes available
pip/horovod>=0<0.24.0
0.24.0
Horovod Horovod<0.24.0

Event History

Mar 24, 2022
CVE Published
via MITRE·08:30 AM
Data Sourced
via MITRE·08:30 AM
DescriptionSeverityWeakness
Mar 29, 2022
Advisory Published
via GitHub·07:18 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-0315?

CVE-2022-0315 has a medium severity rating due to the potential for process hijacking.

2

How do I fix CVE-2022-0315?

To fix CVE-2022-0315, update Horovod to version 0.24.0 or later.

3

What impact does CVE-2022-0315 have on Horovod users?

CVE-2022-0315 allows unauthorized processes to read or manipulate files created by the insecure use of tempfile.mktemp(), posing a risk in LSF job environments.

4

Which versions of Horovod are affected by CVE-2022-0315?

All versions of Horovod prior to 0.24.0 are affected by CVE-2022-0315.

5

What should I do if I can't upgrade to version 0.24.0 to mitigate CVE-2022-0315?

If upgrading is not possible, consider implementing additional security measures to restrict access to the temporary files created during LSF jobs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203