Skip to content

CVE-2022-21126 Creation of Temporary File in Directory with Insecure Permissions

HighCVSS 7.8 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

10 packages: 2 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/htsjdk(Ubuntu 16.04) = 2.0.1+dfsg.1-1; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 18.04) = 2.8.1+dfsg-1; = 2.8.1+dfsg-2; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 20.04) = 2.18.2+dfsg-2; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 22.04) = 2.23.0+dfsg-2; = 2.24.1+dfsg-1; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 24.04) = 3.0.5+dfsg-1; = 3.0.5+dfsg-2; = 4.0.2+dfsg-2; = 4.1.0+dfsg-1 +1 more No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 25.10) = 4.1.3+dfsg-2; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 26.04) = 4.1.3+dfsg-2; = 4.3.0+dfsg-1; All versions No fix listed No fix yet
ubuntu/htsjdk(Ubuntu 26.10) = 4.3.0+dfsg-1; = 5.0.0+dfsg-1; All versions No fix listed No fix yet
com.github.samtools/htsjdk(Maven) < 3.0.1; = 1.128; = 1.129; = 1.130 +67 more 3.0.1 Fixed
samtools htsjdk < 3.0.1 3.0.1 Fixed

Affected products

ProductAffected versionsFixed in
com.github.samtools/htsjdk(Maven) < 3.0.1 3.0.1
com.github.samtools/htsjdk(Maven) = 1.128 No fix listed
com.github.samtools/htsjdk(Maven) = 1.129 No fix listed
com.github.samtools/htsjdk(Maven) = 1.130 No fix listed
com.github.samtools/htsjdk(Maven) = 1.131 No fix listed
com.github.samtools/htsjdk(Maven) = 1.132 No fix listed
com.github.samtools/htsjdk(Maven) = 1.133 No fix listed
com.github.samtools/htsjdk(Maven) = 1.134 No fix listed
com.github.samtools/htsjdk(Maven) = 1.135 No fix listed
com.github.samtools/htsjdk(Maven) = 1.136 No fix listed
com.github.samtools/htsjdk(Maven) = 1.137 No fix listed
com.github.samtools/htsjdk(Maven) = 1.138 No fix listed
com.github.samtools/htsjdk(Maven) = 1.139 No fix listed
com.github.samtools/htsjdk(Maven) = 1.140 No fix listed
com.github.samtools/htsjdk(Maven) = 1.141 No fix listed
com.github.samtools/htsjdk(Maven) = 1.142 No fix listed
com.github.samtools/htsjdk(Maven) = 1.143 No fix listed
com.github.samtools/htsjdk(Maven) = 2.0.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.0.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.1.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.1.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.10.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.10.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.11.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.12.0 No fix listed
Show 70 more
ProductAffected versionsFixed in
com.github.samtools/htsjdk(Maven) = 2.13.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.13.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.13.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.14.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.14.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.14.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.14.3 No fix listed
com.github.samtools/htsjdk(Maven) = 2.15.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.15.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.16.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.16.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.17.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.18.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.18.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.18.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.19.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.2.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.2.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.2.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.2.3 No fix listed
com.github.samtools/htsjdk(Maven) = 2.2.4 No fix listed
com.github.samtools/htsjdk(Maven) = 2.20.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.20.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.20.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.20.3 No fix listed
com.github.samtools/htsjdk(Maven) = 2.21.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.21.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.21.2 No fix listed
com.github.samtools/htsjdk(Maven) = 2.21.3 No fix listed
com.github.samtools/htsjdk(Maven) = 2.22.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.23.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.24.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.24.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.3.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.4.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.4.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.5.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.5.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.6.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.6.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.7.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.8.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.8.1 No fix listed
com.github.samtools/htsjdk(Maven) = 2.9.0 No fix listed
com.github.samtools/htsjdk(Maven) = 2.9.1 No fix listed
com.github.samtools/htsjdk(Maven) = 3.0.0 No fix listed
ubuntu/htsjdk(Ubuntu:22.04) All versions No fix listed
samtools htsjdk < 3.0.1 3.0.1
ubuntu/htsjdk(Ubuntu:24.04) All versions No fix listed
ubuntu/htsjdk(Ubuntu:26.04) All versions No fix listed
ubuntu/htsjdk(Ubuntu:26.10) All versions No fix listed
ubuntu/htsjdk(Ubuntu:16.04) All versions No fix listed
ubuntu/htsjdk(Ubuntu:16.04) = 2.0.1+dfsg.1-1 No fix listed
ubuntu/htsjdk(Ubuntu:18.04) All versions No fix listed
ubuntu/htsjdk(Ubuntu:18.04) = 2.8.1+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:18.04) = 2.8.1+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:20.04) All versions No fix listed
ubuntu/htsjdk(Ubuntu:20.04) = 2.18.2+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:22.04) = 2.23.0+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:22.04) = 2.24.1+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:24.04) = 3.0.5+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:24.04) = 3.0.5+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:24.04) = 4.0.2+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:24.04) = 4.1.0+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:25.10) All versions No fix listed
ubuntu/htsjdk(Ubuntu:25.10) = 4.1.3+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:26.10) = 4.3.0+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:26.10) = 5.0.0+dfsg-1 No fix listed
ubuntu/htsjdk(Ubuntu:26.04) = 4.1.3+dfsg-2 No fix listed
ubuntu/htsjdk(Ubuntu:26.04) = 4.3.0+dfsg-1 No fix listed

References