CVE-2022-21126
Last modified
CVE-2022-21126 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samtools | Htsjdk | < 3.0.1 |
References
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772Patch, Third Party Advisory
- https://github.com/samtools/htsjdk/pull/1617Exploit, Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901Third Party Advisory
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772Patch, Third Party Advisory
- https://github.com/samtools/htsjdk/pull/1617Exploit, Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21126?
How severe is CVE-2022-21126?
How do I fix CVE-2022-21126?
Are you affected by CVE-2022-21126?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
