CVE-2022-21126
HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
7.8
HIGH
CVSS 3.1
EPSS 0.26%
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.
How to fix CVE-2022-21126
To remediate CVE-2022-21126, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.1 or later
Is CVE-2022-21126 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |