SCA: security update for com.github.samtools:htsjdk (GHSA-96vh-4rfp-c42c)

high Tenable Cloud Security Plugin ID 413085

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-21126)

See Also

https://github.com/advisories/GHSA-96vh-4rfp-c42c

Plugin Details

Severity: High

ID: 413085

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.13

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-21126

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/29/2022

Vulnerability Publication Date: 11/29/2022

Reference Information

CVE: CVE-2022-21126

cwe: CWE-668