Vulnerability in Samtools Htsjdk
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 util/IOUtil.java not checking for the existence of the temporary directory before attempting to create it.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.007 (52.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: +0.000
Affected products
- Samtools Htsjdk
- Com.github.samtools:htsjdk — versions unspecified
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 (Third Party Advisory)
- github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 (Patch, Third Party Advisory)
- github.com/samtools/htsjdk/pull/1617 (Exploit, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-21126?
- CVE-2022-21126 is a high-severity vulnerability in Samtools Htsjdk, classified under Exposure of Resource to Wrong Sphere. CVSS score: 7.3/10. Published 2022-11-29.
- How severe is CVE-2022-21126?
- High severity. CVSS v3 base score is 7.3 out of 10.