High severity · published Nov 29, 2022
CVE-2022-21126
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…
7.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HT
Htsjdk · Samtools
before 3.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21126
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21126
Patch
https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772
Exploit
https://github.com/samtools/htsjdk/pull/1617
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901
