Skip to content
OpenAdvisories
High · 7.3 CVE-2022-21126 EUVD-2022-7293GHSA-96vh-4rfp-c42c

Creation of Temporary File in Directory with Insecure Permissions

Published Nov 29, 2022 · Updated Apr 24, 2025 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— com.github.samtools:htsjdk unspecified – < 3.0.1 3.0.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 htsjdk No fix yet —
Ubuntu 26.04 LTS htsjdk No fix yet —
Ubuntu 25.10 htsjdk No fix yet —
Ubuntu 24.04 LTS htsjdk No fix yet —
Ubuntu 22.04 LTS htsjdk No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS htsjdk No fix yet —
Ubuntu 18.04 LTS htsjdk No fix yet —
Ubuntu 16.04 LTS htsjdk No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.github.samtools:htsjdk < 3.0.1 3.0.1 GHSA-96vh-4rfp-c42c

References