What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: com.github.samtools:htsjdk 3.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21126 or the next vulnerability affects your stack