9 Star 2 Fork 84

src-openEuler/python3

CVE-2024-8088

已完成
CVE和安全问题 拥有者
创建于  
2024-08-23 10:38

一、漏洞信息
漏洞编号:CVE-2024-8088
漏洞归属组件:python3
漏洞归属的版本:3.10.0,3.10.2,3.10.9,3.11.1,3.11.4,3.11.6,3.7.9,3.8.5,3.9.9
CVSS V3.0分值:
BaseScore:7.5 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
漏洞简述:
There is a HIGH severity vulnerability affecting the CPython zipfile module affecting zipfile.Path . Note that the more common API zipfile.ZipFile class is unaffected.When iterating over names of entries in a zip archive (for example, methodsof zipfile.Path like namelist() , iterdir() , etc)the process can be put into an infinite loop with a maliciously craftedzip archive. This defect applies when reading only metadata or extractingthe contents of the zip archive. Programs that are not handlinguser-controlled zip archives are not affected.
漏洞公开时间:2024-08-23 03:15:09
漏洞创建时间:2024-08-23 18:38:53
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-8088

更多参考(点击展开)
参考来源 参考链接 来源链接
cna.python.org https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1
cna.python.org https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6
cna.python.org https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
cna.python.org https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814
cna.python.org https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4
cna.python.org https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
cna.python.org https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a
cna.python.org https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7
cna.python.org https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
cna.python.org https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db
cna.python.org https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798
cna.python.org https://github.com/python/cpython/issues/122905
cna.python.org https://github.com/python/cpython/issues/123270
cna.python.org https://github.com/python/cpython/pull/122906
cna.python.org https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-8088 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://seclists.org/oss-sec/2024/q3/226 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-8088 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://github.com/python/cpython/issues/122905 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://github.com/python/cpython/pull/122906 https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/ https://bugzilla.suse.com/show_bug.cgi?id=1229704
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2307370 https://bugzilla.suse.com/show_bug.cgi?id=1229704
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:5962 https://bugzilla.redhat.com/show_bug.cgi?id=2307370
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-8088 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/ https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/pull/122906 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/issues/122905 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 (3.13-branch) https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea (3.12-branch) https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e (3.11-branch) https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db (3.10-branch) https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea https://ubuntu.com/security/CVE-2024-8088
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-8088 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://launchpad.net/bugs/cve/CVE-2024-8088 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-8088 https://ubuntu.com/security/CVE-2024-8088
ubuntu https://bugs.launchpad.net/ubuntu/+source/python3.11/+bug/2078988 https://ubuntu.com/security/CVE-2024-8088
debian https://security-tracker.debian.org/tracker/CVE-2024-8088
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-8088
cve_search https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/
cve_search https://github.com/python/cpython/pull/122906
cve_search https://github.com/python/cpython/issues/122905
cve_search https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
cve_search https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
cve_search https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
cve_search https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db
cve_search https://github.com/python/cpython/issues/123270
cve_search https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6
cve_search https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4
cve_search https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a
cve_search https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814
cve_search https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7
cve_search https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798
cve_search https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-8088 https://explore.alas.aws.amazon.com/CVE-2024-8088.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8088 https://explore.alas.aws.amazon.com/CVE-2024-8088.html

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1 cna.python.org
https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6 cna.python.org
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e cna.python.org
https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814 cna.python.org
https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4 cna.python.org
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 cna.python.org
https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a cna.python.org
https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7 cna.python.org
https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea cna.python.org
https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db cna.python.org
https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798 cna.python.org
https://github.com/python/cpython/pull/122906 cna.python.org
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e suse_bugzilla
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 suse_bugzilla
https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea suse_bugzilla
https://github.com/python/cpython/pull/122906 suse_bugzilla
https://github.com/python/cpython/pull/122906 ubuntu
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 (3.13-branch) ubuntu
https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea (3.12-branch) ubuntu
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e (3.11-branch) ubuntu
https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db (3.10-branch) ubuntu
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e ubuntu
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 ubuntu
https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea ubuntu

二、漏洞分析结构反馈
影响性分析说明:
CPython“zipfile”模块中存在影响“zipfile.Path”的严重程度为高的漏洞。请注意,更常见的API“zipfile.ZipFile”类不受影响。当迭代zip存档中的条目名称(例如,“zipfile.Path”的方法,如“namelist()”、“iterdir()”等)时,该过程可能会被恶意构建的zip存档置于无限循环中。此缺陷适用于仅读取元数据或提取zip归档文件的内容时。不处理用户控制的zip存档的程序不受影响。
openEuler评分:
7.5
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
受影响版本排查(受影响/不受影响):
1.master(3.11.6):受影响
2.openEuler-22.03-LTS-SP1(3.9.9):受影响
3.openEuler-22.03-LTS-SP3(3.9.9):受影响
4.openEuler-22.03-LTS-SP4(3.9.9):受影响
5.openEuler-24.03-LTS(3.11.6):受影响
6.openEuler-24.03-LTS-Next(3.11.6):受影响
7.openEuler-20.03-LTS-SP4(3.7.9):不受影响

修复是否涉及abi变化(是/否):
1.master(3.11.6):否
2.openEuler-20.03-LTS-SP4(3.7.9):否
3.openEuler-22.03-LTS-SP1(3.9.9):否
4.openEuler-22.03-LTS-SP3(3.9.9):否
5.openEuler-22.03-LTS-SP4(3.9.9):否
6.openEuler-24.03-LTS(3.11.6):否
7.openEuler-24.03-LTS-Next(3.11.6):否

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

评论 (9)

openeuler-ci-bot 创建了CVE和安全问题 10个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
10个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
10个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-8088NoneNonehttps://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
https://ubuntu.com/security/CVE-2024-8088NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2024-8088NoneNonehttps://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-8088
https://security-tracker.debian.org/tracker/CVE-2024-8088

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用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 修改了描述 10个月前
openeuler-ci-bot 计划开始日期设置为2024-08-23 10个月前
openeuler-ci-bot 计划截止日期设置为2024-09-22 10个月前
openeuler-ci-bot 优先级设置为主要 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 计划开始日期2024-08-23 修改为2024-08-24 10个月前
openeuler-ci-bot 计划截止日期2024-09-22 修改为2024-09-07 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
xieminmin 负责人设置为xinsheng3 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前

影响性分析说明:CPython“zipfile”模块中存在影响“zipfile.Path”的严重程度为高的漏洞。请注意,更常见的API“zipfile.ZipFile”类不受影响。当迭代zip存档中的条目名称(例如,“zipfile.Path”的方法,如“namelist()”、“iterdir()”等)时,该过程可能会被恶意构建的zip存档置于无限循环中。此缺陷适用于仅读取元数据或提取zip归档文件的内容时。不处理用户控制的zip存档的程序不受影响。

openEuler评分:
7.5
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
受影响版本排查(受影响/不受影响):
1.master(3.10.0):受影响
2.openEuler-20.03-LTS-SP4(3.7.9):不受影响
3.openEuler-22.03-LTS-SP1(3.9.9):受影响
4.openEuler-22.03-LTS-SP3(3.9.9):受影响
5.openEuler-22.03-LTS-SP4(3.9.9):受影响
6.openEuler-24.03-LTS(3.11.6):受影响
7.openEuler-24.03-LTS-Next(3.11.6):受影响

修复是否涉及abi变化(是/否):
1.master(3.10.0):否
2.openEuler-20.03-LTS-SP4(3.7.9):否
3.openEuler-22.03-LTS-SP1(3.9.9):否
4.openEuler-22.03-LTS-SP3(3.9.9):否
5.openEuler-22.03-LTS-SP4(3.9.9):否
6.openEuler-24.03-LTS(3.11.6):否
7.openEuler-24.03-LTS-Next(3.11.6):否

openeuler-ci-bot 修改了描述 10个月前

该CVE涉及2个issue:
https://github.com/python/cpython/issues/122905
https://github.com/python/cpython/issues/123270

第2个issue是修复第一个issue的,目前尚未合入,等待修复后同步CVE

openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
xinsheng3 通过合并 Pull Request !343: fix CVE-2024-6923,CVE-2024-7592,CVE-2024-8088任务状态待办的 修改为已完成 10个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
10个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
10个月前
xinsheng3 通过合并 Pull Request !344: fix CVE-2024-6923,CVE-2024-7592,CVE-2024-8088任务状态待办的 修改为已完成 10个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 10个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
10个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
10个月前
xinsheng3 通过合并 Pull Request !346: fix CVE-2024-6923,CVE-2024-7592,CVE-2024-8088任务状态待办的 修改为已完成 10个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 10个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
10个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
10个月前
xinsheng3 通过合并 Pull Request !347: fix CVE-2024-6923,CVE-2024-7592,CVE-2024-8088任务状态待办的 修改为已完成 10个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
10个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
10个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
10个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
10个月前
openeuler-ci-bot 修改了描述 10个月前

登录 后才可以发表评论

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

搜索帮助