samtools htsjdk up to 3.0.0 util/IOUtil.java createTempDir temp file
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in samtools htsjdk up to 3.0.0. This impacts the function createTempDir of the file util/IOUtil.java. Executing a manipulation can lead to temp file.
The identification of this vulnerability is CVE-2022-21126. The attack may be launched remotely. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability has been found in samtools htsjdk up to 3.0.0 and classified as critical. This vulnerability affects the function createTempDir of the file util/IOUtil.java. The manipulation with an unknown input leads to a temp file vulnerability. The CWE definition for the vulnerability is CWE-377. Creating and using insecure temporary files can leave application and system data vulnerable to attack. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was shared 11/30/2022. The advisory is shared for download at github.com. This vulnerability was named CVE-2022-21126 since 02/24/2022. There are known technical details, but no exploit is available.
Upgrading to version 3.0.1 eliminates this vulnerability. Applying the patch 4a4024a97ee3e87096df6ad9b22c8260bd527772 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/samtools/htsjdk/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Temp fileCWE: CWE-377
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: htsjdk 3.0.1
Patch: 4a4024a97ee3e87096df6ad9b22c8260bd527772
Timeline
02/24/2022 🔍11/30/2022 🔍
11/30/2022 🔍
12/24/2022 🔍
Sources
Product: github.comAdvisory: 4a4024a97ee3e87096df6ad9b22c8260bd527772
Status: Confirmed
CVE: CVE-2022-21126 (🔍)
GCVE (CVE): GCVE-0-2022-21126
GCVE (VulDB): GCVE-100-214564
Entry
Created: 11/30/2022 07:37Updated: 12/24/2022 14:49
Changes: 11/30/2022 07:37 (52), 12/24/2022 14:45 (1), 12/24/2022 14:49 (11)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.