CVE-2022-21126
Creation of Temporary File in Directory with Insecure Permissions
- State
- Published
- Severity
- 7.3 High
- Published
- Nov 29, 2022
- Updated
- Apr 24, 2025
- Reserved
- Feb 24, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
com.github.samtools:htsjdkn/a |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.