CVEvulnerability
CVE-2022-21126
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-11-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-668
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.
Affected configurations
• samtools htsjdk (< 3.0.1)
Related
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 Patch, Third Party Advisory
- https://github.com/samtools/htsjdk/pull/1617 Exploit, Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 Third Party Advisory
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 Patch, Third Party Advisory
- https://github.com/samtools/htsjdk/pull/1617 Exploit, Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 Third Party Advisory