CVE-2022-21126
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.github.samtools » htsjdk | < 3.0.1 | 3.0.1 |
Blast radius
91% of the dependent artifacts (235) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,537 |
| 2 hops | 3,309 |
| 3 hops | 301 |
| 4 hops | 227 |
| 5 hops | 91 |
| 6 hops | 183 |
Most used dependents
- com.github.biopet » ngs-utils37 usages
- org.seqdoop » hadoop-bam27 usages
- org.opencb.biodata » biodata-models25 usages
- org.bdgenomics.adam » adam-core-spark222 usages
- com.github.broadinstitute » picard19 usages
- org.opencb.biodata » biodata-formats19 usages
- org.dishevelled » dsh-compress17 usages
- org.opencb.biodata » biodata-tools14 usages
- org.opencb.opencga » opencga-core12 usages
- org.opencb.cellbase » cellbase-core12 usages
- org.bdgenomics.adam » adam-core12 usages
- org.opencb.opencga » opencga-storage-core10 usages
- uk.ac.ebi.eva » eva-accession-core10 usages
- org.opencb.cellbase » cellbase-client9 usages
- org.bdgenomics.adam » adam-core-spark39 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-21126 | nvd.nist.gov |
| Package | samtools/htsjdk | github.com |
| Web | samtools/htsjdk pull request #1617 | github.com |
| Web | samtools/htsjdk commit 4a4024a | github.com |
| Web | vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 | security.snyk.io |
