CNVD-2022-85323
Vulnerability from cnvd - Published: 2022-12-04
VLAI Severity ?
Title
samtools htsjdk授权问题漏洞
Description
htsjdk是一款samtools开源的一个用于高通量测序数据(HTS)格式的Java API。
htsjdk 3.0.1及之前版本com.github.samtools存在授权问题,该漏洞是由于util/IOUtil中的createTempDir()函数,以不安全权限在目录中创建临时文件,且java在尝试创建临时目录之前没有检查临时目录的存在,攻击者可利用漏洞非法创建临时文件。
Severity
高
Patch Name
samtools htsjdk授权问题漏洞的补丁
Patch Description
htsjdk是一款samtools开源的一个用于高通量测序数据(HTS)格式的 Java API。
samtools htsjdk 3.0.1版本存在授权问题漏洞,该漏洞源于util/IOUtil.java中的createTempDir()函数在尝试创建临时目录之前未检查临时目录是否存在,攻击者可利用此漏洞导致在具有不安全权限的目录中创建临时文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/samtools/htsjdk/releases/tag/3.0.4
Reference
https://github.com/samtools/htsjdk/pull/1617
Impacted products
| Name | samtools htsjdk <3.0.1 |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2022-21126",
"cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-21126"
}
},
"description": "htsjdk\u662f\u4e00\u6b3esamtools\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u9ad8\u901a\u91cf\u6d4b\u5e8f\u6570\u636e\uff08HTS\uff09\u683c\u5f0f\u7684Java API\u3002\n\nhtsjdk 3.0.1\u53ca\u4e4b\u524d\u7248\u672ccom.github.samtools\u5b58\u5728\u6388\u6743\u95ee\u9898\uff0c\u8be5\u6f0f\u6d1e\u662f\u7531\u4e8eutil/IOUtil\u4e2d\u7684createTempDir\uff08\uff09\u51fd\u6570\uff0c\u4ee5\u4e0d\u5b89\u5168\u6743\u9650\u5728\u76ee\u5f55\u4e2d\u521b\u5efa\u4e34\u65f6\u6587\u4ef6\uff0c\u4e14java\u5728\u5c1d\u8bd5\u521b\u5efa\u4e34\u65f6\u76ee\u5f55\u4e4b\u524d\u6ca1\u6709\u68c0\u67e5\u4e34\u65f6\u76ee\u5f55\u7684\u5b58\u5728\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u6f0f\u6d1e\u975e\u6cd5\u521b\u5efa\u4e34\u65f6\u6587\u4ef6\u3002",
"formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1ahttps://github.com/samtools/htsjdk/releases/tag/3.0.4",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2022-85323",
"openTime": "2022-12-04",
"patchDescription": "htsjdk\u662f\u4e00\u6b3esamtools\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u9ad8\u901a\u91cf\u6d4b\u5e8f\u6570\u636e\uff08HTS\uff09\u683c\u5f0f\u7684 Java API\u3002\r\n\r\nsamtools htsjdk 3.0.1\u7248\u672c\u5b58\u5728\u6388\u6743\u95ee\u9898\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eutil/IOUtil.java\u4e2d\u7684createTempDir()\u51fd\u6570\u5728\u5c1d\u8bd5\u521b\u5efa\u4e34\u65f6\u76ee\u5f55\u4e4b\u524d\u672a\u68c0\u67e5\u4e34\u65f6\u76ee\u5f55\u662f\u5426\u5b58\u5728\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u6b64\u6f0f\u6d1e\u5bfc\u81f4\u5728\u5177\u6709\u4e0d\u5b89\u5168\u6743\u9650\u7684\u76ee\u5f55\u4e2d\u521b\u5efa\u4e34\u65f6\u6587\u4ef6\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "samtools htsjdk\u6388\u6743\u95ee\u9898\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": "samtools htsjdk \u003c3.0.1"
},
"referenceLink": "https://github.com/samtools/htsjdk/pull/1617",
"serverity": "\u9ad8",
"submitTime": "2022-12-01",
"title": "samtools htsjdk\u6388\u6743\u95ee\u9898\u6f0f\u6d1e"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…