CVE-2022-21126

Creation of Temporary File in Directory with Insecure Permissions

State
Published
Severity
7.3 High
Published
Nov 29, 2022
Updated
Apr 24, 2025
Reserved
Feb 24, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Lsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
com.github.samtools:htsjdkn/a
  • before 3.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.