CVE-2022-21126 HIGH

CVE-2022-21126: Creation of Temporary File in Directory with Insecure Permissions

Vendor N/A
Product com.github.samtools:htsjdk
Published November 29, 2022
Last update April 24, 2025

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 29, 2022 CVE published
April 24, 2025 Record updated