cve.bz

CVE-2022-21126

7.8 highEPSS 0.7%

High (7.8) in samtools htsjdk. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in com.github.samtools:htsjdk 3.0.1.

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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-668
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-96vh-4rfp-c42cMavencom.github.samtools:htsjdk<3.0.13.0.1

References

Check your stackJSON