HIGH 7.8

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)

ArtifactAffected versionsFixed in
com.github.samtools » htsjdk
< 3.0.1
3.0.1

Blast radius

1affected artifacts
83affected versions
258dependent artifacts (est.)
5,648dependent versions

91% of the dependent artifacts (235) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,537
2 hops
3,309
3 hops
301
4 hops
227
5 hops
91
6 hops
183

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Websecurity.snyk.io