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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-7293 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.
Github GHSA Github GHSA GHSA-96vh-4rfp-c42c HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 24 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-04-24T18:34:51.291Z

Reserved: 2022-02-24T00:00:00.000Z

Link: CVE-2022-21126

cve-icon Vulnrichment

Updated: 2024-08-03T02:31:59.646Z

cve-icon NVD

Status : Modified

Published: 2022-11-29T17:15:11.043

Modified: 2024-11-21T06:43:57.067

Link: CVE-2022-21126

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.