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 to the createTempDir() function in util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it.
Configurations

Configuration 1 (hide)

cpe:2.3:a:samtools:htsjdk:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:43

Type Values Removed Values Added
References () https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 - Patch, Third Party Advisory () https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 - Patch, Third Party Advisory
References () https://github.com/samtools/htsjdk/pull/1617 - Exploit, Patch, Third Party Advisory () https://github.com/samtools/htsjdk/pull/1617 - Exploit, Patch, Third Party Advisory
References () https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 - Third Party Advisory () https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 - Third Party Advisory
CVSS v2 : unknown
v3 : 7.8
v2 : unknown
v3 : 7.3

01 Dec 2022, 21:08

Type Values Removed Values Added
CWE CWE-668
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:a:samtools:htsjdk:*:*:*:*:*:*:*:*
References (MISC) https://github.com/samtools/htsjdk/pull/1617 - (MISC) https://github.com/samtools/htsjdk/pull/1617 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 - (MISC) https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 - Patch, Third Party Advisory
References (MISC) https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 - (MISC) https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 - Third Party Advisory

29 Nov 2022, 17:57

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-29 17:15

Updated : 2024-11-21 06:43


NVD link : CVE-2022-21126

Mitre link : CVE-2022-21126

CVE.ORG link : CVE-2022-21126


JSON object : View

Products Affected

samtools

  • htsjdk
CWE
CWE-668

Exposure of Resource to Wrong Sphere