Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS05NnZoLTRyZnAtYzQyY84AAwEs
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
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.
Permalink: https://github.com/advisories/GHSA-96vh-4rfp-c42cJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NnZoLTRyZnAtYzQyY84AAwEs
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 6 months ago
Updated: 4 months ago
CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-96vh-4rfp-c42c, CVE-2022-21126
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-21126
- https://github.com/samtools/htsjdk/pull/1617
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
- https://github.com/advisories/GHSA-96vh-4rfp-c42c
Affected Packages
maven:com.github.samtools:htsjdk
Versions: < 3.0.1Fixed in: 3.0.1