GitHub Advisoryadvisory · Maven

GHSA-96vh-4rfp-c42c HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere

HIGH Published 2022-11-29 Modified 2022-12-02 Official page ↗
Aliases
CVE-2022-21126
Ecosystem
Maven
Packages
com.github.samtools:htsjdk
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-668
Reviewed
2022-12-02

Affected packages

• Maven com.github.samtools:htsjdk: < 3.0.1 → fixed in 3.0.1

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.

Related

Alias · CVE (1)

  • CVE-2022-21126 The package com.github.samtools:htsjdk before 3.0.1 are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due… vulnerability

Weakness · CWE (1)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References