All reports
High

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

Affected versions

Affected versions
< 3.0.1
Fixed version
3.0.1

Exploitation

CVE-2022-21126

Probability of exploitation in the next 30 days: 0.75%

FIRST EPSS · 2026-11-22

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.

Links