Vulnerability in Samtools Htsjdk

CVE-2022-21126

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.

EPSS: 0.007 (49.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-21126?
CVE-2022-21126 is a high-severity vulnerability in Samtools Htsjdk, classified under Exposure of Resource to Wrong Sphere. CVSS score: 7.3/10. Published 2022-11-29.
How severe is CVE-2022-21126?
High severity. CVSS v3 base score is 7.3 out of 10.