High, CVSS 7.8MavenPublished
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
CVE-2022-21126 · GHSA-96vh-4rfp-c42c
- Affected
- Maven com.github.samtools:htsjdk < 3.0.1
- Fixed in
- 3.0.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.