Creation of Temporary File in Directory with Insecure Permissions Affecting com.github.samtools:htsjdk package, versions [,3.0.1)
Threat Intelligence
EPSS
0.07% (32nd
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-JAVA-COMGITHUBSAMTOOLS-3149901
- published 28 Nov 2022
- disclosed 28 Nov 2022
- credit Jonathan Leitschuh
Introduced: 28 Nov 2022
CVE-2022-21126 Open this link in a new tabHow to fix?
Upgrade com.github.samtools:htsjdk
to version 3.0.1 or higher.
Overview
com.github.samtools:htsjdk is a Java API for high-throughput sequencing data (HTS) formats
Affected versions of this package 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.
References
CVSS Scores
version 3.1