CVE-2022-21126

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductSamtools Htsjdk
PublishedNov 29, 2022
First seenNov 29, 2022

How to fix

Update
  • samtools htsjdk3.0.1 or later
  • com.github.samtools:htsjdk3.0.1 or later

Affected products

ProductAffected versionsFixed in
samtools htsjdkv < 3.0.13.0.1
com.github.samtools:htsjdkMavenv < 3.0.13.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-21126 · Samtools Htsjdk · Dark Radar