PT-2022-14866 · Htsjdk · Htsjdk
Jonathan Leitschuh
·
Published
2022-11-29
·
Updated
2022-12-01
·
CVE-2022-21126
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
com.github.samtools:htsjdk versions prior to 3.0.1
Description
The issue arises from the
createTempDir() function in util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it, leading to the creation of temporary files in directories with insecure permissions. This is due to the createTempDir() function's behavior.Recommendations
For versions prior to 3.0.1, update to version 3.0.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the temporary directory to minimize the risk of exploitation.
Exploit
Fix
Exposure of Resource to Wrong Sphere
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Htsjdk