GitHub Advisory Database
GHSA-96vh-4rfp-c42c
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.github.samtools:htsjdk | All versions before 3.0.1 (fixed in 3.0.1) |