CVE-2022-21126
HIGH
Published Nov 29, 20223y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published Nov 29, 2022 3y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-668
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| samtools | htsjdk | * | <3.0.1 |
References 3
- github.com https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
- github.com https://github.com/samtools/htsjdk/pull/1617
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
Remediation
- github.com https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
- github.com https://github.com/samtools/htsjdk/pull/1617