CVE-2022-21126
HIGHhtsjdk < 3.0.1 - Insecure Temporary Directory Creation in IOUtil.createTempDir()
Title source: llmDescription
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.
References (3)
Core 3
Core References
Patch, Third Party Advisory
https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
Exploit, Patch, Third Party Advisory
https://github.com/samtools/htsjdk/pull/1617
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
Scores
CVSS v3
7.3
EPSS
0.0070
EPSS Percentile
48.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-668
Status
published
Products (2)
com.github.samtools/htsjdk
0 - 3.0.1Maven
samtools/htsjdk
< 3.0.1
Published
Nov 29, 2022
Tracked Since
Feb 18, 2026