GitHub Advisoryadvisory · Maven
GHSA-96vh-4rfp-c42c HTSJDK is vulnerable to exposure of resource(s) to the wrong sphere
HIGH
Official page ↗
- Aliases
- CVE-2022-21126
- Ecosystem
- Maven
- Packages
- com.github.samtools:htsjdk
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-668
- Reviewed
- 2022-12-02
Affected packages
• Maven com.github.samtools:htsjdk: < 3.0.1 → fixed in 3.0.1
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-21126 advisory
- https://github.com/samtools/htsjdk/pull/1617 web
- https://github.com/samtools/htsjdk/commit/4a4024a97ee3e87096df6ad9b22c8260bd527772 web
- https://github.com/samtools/htsjdk package
- https://security.snyk.io/vuln/SNYK-JAVA-COMGITHUBSAMTOOLS-3149901 web