Vulnerabilities > CVE-2022-21126 - Exposure of Resource to Wrong Sphere vulnerability in Samtools Htsjdk

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
samtools
CWE-668

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Samtools
84

Common Weakness Enumeration (CWE)