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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-2111Unrestricted Upload of File with Dangerous Type in GitHub re…8.8
- CVE-2022-2112Improper Neutralization of Formula Elements in a CSV File in…8.8
- CVE-2022-21122The package metacalc before 0.0.2 are vulnerable to Arbitrar…9.8
- CVE-2022-21123Incomplete cleanup of multi-core shared buffers for some Int…5.5
- CVE-2022-21124Out-of-bounds write vulnerability in CX-Programmer v9.76.1 a…7.8
- CVE-2022-21125Incomplete cleanup of microarchitectural fill buffers on som…5.5
- CVE-2022-21127Incomplete cleanup in specific special register read operati…5.5
- CVE-2022-21128Insufficient control flow management in the Intel(R) Advisor…7.8
- CVE-2022-21129Versions of the package nemo-appium before 0.0.9 are vulnera…9.8
- CVE-2022-2113Cross-site Scripting (XSS) - Stored in GitHub repository inv…5.4
- CVE-2022-21130Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2022-21131Improper access control for some Intel(R) Xeon(R) Processors…5.5
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
