11 Star 0 Fork 28

src-openEuler/libarchive

CVE-2022-36227

已完成
CVE和安全问题 拥有者
创建于  
2022-11-22 11:02

一、漏洞信息
漏洞编号:CVE-2022-36227
漏洞归属组件:libarchive
漏洞归属的版本:3.6.1
CVSS V3.0分值:
BaseScore:9.8 Critical
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
漏洞公开时间:2022-11-22 10:15:00
漏洞创建时间:2022-11-22 11:02:32
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2022-36227

更多参考(点击展开)
参考来源 参考链接 来源链接
nvd https://github.com/libarchive/libarchive/issues/1754
nvd https://bugs.gentoo.org/882521
nvd https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215
nvd https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/
redhat https://access.redhat.com/security/cve/CVE-2022-36227
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-36227 https://bugzilla.suse.com/show_bug.cgi?id=1205629
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2022-36227 https://bugzilla.suse.com/show_bug.cgi?id=1205629
suse_bugzilla https://github.com/libarchive/libarchive/issues/1754 https://bugzilla.suse.com/show_bug.cgi?id=1205629
redhat_bugzilla https://github.com/libarchive/libarchive/commit/fd180c36036df7181a64931264732a10ad8cd024 https://bugzilla.redhat.com/show_bug.cgi?id=2144972
redhat_bugzilla https://github.com/libarchive/libarchive/issues/1754 https://bugzilla.redhat.com/show_bug.cgi?id=2144972
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36227 https://ubuntu.com/security/CVE-2022-36227
ubuntu https://github.com/libarchive/libarchive/pull/1759 https://ubuntu.com/security/CVE-2022-36227
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-36227 https://ubuntu.com/security/CVE-2022-36227
ubuntu https://launchpad.net/bugs/cve/CVE-2022-36227 https://ubuntu.com/security/CVE-2022-36227
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-36227 https://ubuntu.com/security/CVE-2022-36227
ubuntu https://github.com/libarchive/libarchive/issues/1754 https://ubuntu.com/security/CVE-2022-36227
debian https://security-tracker.debian.org/tracker/CVE-2022-36227
cve_search https://github.com/libarchive/libarchive/issues/1754
cve_search https://bugs.gentoo.org/882521
mageia http://advisories.mageia.org/MGASA-2022-0453.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2257.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2264.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2284.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2285.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2286.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2287.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2288.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2289.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2304.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2343.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2344.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2345.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2816.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2817.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2819.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-3037.html https://alas.aws.amazon.com/ALAS-2022-1639.html
nvd https://github.com/libarchive/libarchive/issues/1754
nvd https://bugs.gentoo.org/882521
debian https://security-tracker.debian.org/tracker/CVE-2022-36227

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/libarchive/libarchive/commit/fd180c36036df7181a64931264732a10ad8cd024 redhat_bugzilla
https://github.com/libarchive/libarchive/pull/1759 ubuntu

二、漏洞分析结构反馈
影响性分析说明:
在 libarchive 3.6.1 中,软件在调用 calloc 函数后不检查错误,如果函数失败,该函数会返回 NULL 指针,这会导致 NULL 指针取消引用,或者在某些情况下甚至会执行任意代码。BaseScore:9.8 CriticalVector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
openEuler评分:
9.8
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.4.3):受影响
2.openEuler-20.03-LTS-SP3(3.4.3):受影响
3.openEuler-22.03-LTS(3.5.2):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.4.3):否
2.openEuler-20.03-LTS-SP3(3.4.3):否
3.openEuler-22.03-LTS(3.5.2):否

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2022-2126

评论 (13)

openeuler-ci-bot 创建了CVE和安全问题 3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
参考网址 关联pr 状态 补丁链接
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-36227
https://www.opencve.io/cve/CVE-2022-36227
https://nvd.nist.gov/vuln/detail/CVE-2022-36227https://github.com/libarchive/libarchive/pull/1759closedhttps://github.com/libarchive/libarchive/commit/bff38efe8c110469c5080d387bec62a6ca15b1a5
https://security-tracker.debian.org/tracker/CVE-2022-36227
https://ubuntu.com/security/CVE-2022-36227NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2022-36227

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前

影响性分析说明:
在 libarchive 3.6.1 中,软件在调用 calloc 函数后不检查错误,如果函数失败,该函数会返回 NULL 指针,这会导致 NULL 指针取消引用,或者在某些情况下甚至会执行任意代码。
BaseScore:5.9
Vector:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.4.3):受影响
2.openEuler-20.03-LTS-SP3(3.4.3):受影响
3.openEuler-22.03-LTS(3.5.2):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.4.3):否
2.openEuler-20.03-LTS-SP3(3.4.3):否
3.openEuler-22.03-LTS(3.5.2):否

openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
kerongw 通过合并 Pull Request !40: fix CVE-2022-36227任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
kerongw 通过合并 Pull Request !39: fix CVE-2022-36227任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前
kerongw 通过合并 Pull Request !38: fix CVE-2022-36227任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前

openEulerScore:5.9
openEulerVector:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

BaseScore:5.9 Low
Vector:CVSS: 3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

openeuler-ci-bot 计划开始日期设置为2022-11-22 3年前
openeuler-ci-bot 计划截止日期设置为2022-11-29 3年前
openeuler-ci-bot 优先级设置为严重 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前

BaseScore:9.8 Critical
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

影响性分析说明:
在 libarchive 3.6.1 中,软件在调用 calloc 函数后不检查错误,如果函数失败,该函数会返回 NULL 指针,这会导致 NULL 指针取消引用,或者在某些情况下甚至会执行任意代码。
BaseScore:9.8 Critical
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.4.3):受影响
2.openEuler-20.03-LTS-SP3(3.4.3):受影响
3.openEuler-22.03-LTS(3.5.2):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.4.3):否
2.openEuler-20.03-LTS-SP3(3.4.3):否
3.openEuler-22.03-LTS(3.5.2):否

openeuler-ci-bot 修改了描述 3年前
openeuler-sync-bot 通过合并 Pull Request !41: [sync] PR-40: fix CVE-2022-36227任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 计划开始日期2022-11-22 修改为2022-12-29 2年前
openeuler-ci-bot 计划截止日期2022-11-29 修改为2023-01-05 2年前
openeuler-ci-bot 移除了
 
CVE/FIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNAFFECTED
标签
1年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
1年前

登录 后才可以发表评论

状态
负责人
项目
里程碑
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 kerongw-kerongw
1
https://gitee.com/src-openeuler/libarchive.git
git@gitee.com:src-openeuler/libarchive.git
src-openeuler
libarchive
libarchive

搜索帮助