CVE-2022-21126

HIGH
Published Nov 29, 20223y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
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
7.8
Exploitability
1.8
Impact
5.9
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

VendorProductVersionRange
samtoolshtsjdk* <3.0.1

References 3

  • github.com https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
    PatchThird Party Advisory
  • github.com https://github.com/samtools/htsjdk/pull/1617
    ExploitPatchThird Party Advisory
  • security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
    Third Party Advisory

Remediation

  • github.com https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
    PatchThird Party Advisory
  • github.com https://github.com/samtools/htsjdk/pull/1617
    ExploitPatchThird Party Advisory