CVE-2022-21126

Creation of Temporary File in Directory with Insecure Permissions

Published Nov 29, 2022 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics ssvc

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 24, 2025, 6:34 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Nov 29, 2022, 5:15 PM
Modified
Jun 17, 2026, 4:25 AM