NetSight
high7.8

CVE-2022-21126

HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere

Impact

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 packages

EcosystemPackageAffectedFixed in
mavencom.github.samtools:htsjdk< 3.0.13.0.1

Affected products

VendorProductAffected versions
SamtoolsHtsjdk
before 3.0.1

Weakness classification

References