Vulnerability Description
The package com.github.samtools:htsjdk before 3.0.1 are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the createTempDir() function in util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Samtools | Htsjdk | < 3.0.1 |
Related Weaknesses (CWE)
References
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd5277PatchThird Party Advisory
- https://github.com/samtools/htsjdk/pull/1617ExploitPatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901Third Party Advisory
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd5277PatchThird Party Advisory
- https://github.com/samtools/htsjdk/pull/1617ExploitPatchThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901Third Party Advisory
FAQ
What is CVE-2022-21126?
CVE-2022-21126 is a vulnerability with a CVSS score of 7.3 (HIGH). The package com.github.samtools:htsjdk before 3.0.1 are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the createTempDir() function in util/IOUtil.java not chec...
How severe is CVE-2022-21126?
CVE-2022-21126 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-21126?
Check the references section above for vendor advisories and patch information. Affected products include: Samtools Htsjdk.