Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
8
Star
2
Fork
89
src-openEuler
/
python3
Code
Issues
8
Pull Requests
3
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2024-3220
已挂起
#IBMFKV
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-02-15 03:44
一、漏洞信息 漏洞编号:[CVE-2024-3220](https://nvd.nist.gov/vuln/detail/CVE-2024-3220) 漏洞归属组件:[python3](https://gitee.com/src-openeuler/python3) 漏洞归属的版本:3.10.2,3.10.9,3.11.11,3.11.4,3.11.6,3.7.9,3.8.5,3.9.9 CVSS V3.0分值: BaseScore:4.6 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L 漏洞简述: There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning other users can create invalid files to cause MemoryError to be raised on Python runtime startup or have file extensions be interpreted as the incorrect file type.This defect is caused by the default locations of Linux and macOS platforms (such as “/etc/mime.types”) also being used on Windows, where they are user-writable locations (“C: etc mime.types”).To work-around this issue a user can call mimetypes.init() with an empty list (“[]”) on Windows platforms to avoid using the default list of known file locations. 漏洞公开时间:2025-02-15 01:15:15 漏洞创建时间:2025-02-15 03:44:15 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-3220 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | cna.python.org | https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/ | | | af854a3a-2127-422b-91ae-364da2661108 | http://www.openwall.com/lists/oss-security/2025/02/14/8 | | | af854a3a-2127-422b-91ae-364da2661108 | https://security.netapp.com/advisory/ntap-20250314-0001/ | | | suse_bugzilla | https://mail.python.org/mailman3/lists/security-announce.python.org/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-3220 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://seclists.org/oss-sec/2025/q1/138 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-3220 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2345794 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | http://www.openwall.com/lists/oss-security/2025/02/14/8 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://github.com/CVEProject/cvelistV5/blob/main//cves/2024/3xxx/CVE-2024-3220.json | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://security.netapp.com/advisory/ntap-20250314-0001/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-3220 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: CPython 标准库模块“mimetypes”存在一个缺陷,在 Windows 上,已知文件位置的默认列表是可写的,这意味着其他用户可以创建无效文件,导致 Python 运行时启动时引发 MemoryError,或者将文件扩展名解释为错误的文件类型。此缺陷是由 Linux 和 macOS 平台的默认位置(例如“/etc/mime.types”)也在 Windows 上使用引起的,这些位置是用户可写的(“C: etc mime.types”)。要解决此问题,用户可以在 Windows 平台上调用 mimetypes.init() 并传递一个空列表(“【】”),以避免使用已知文件位置的默认列表。 openEuler评分: 4.6 Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(3.11.11):受影响 2.openEuler-20.03-LTS-SP4(3.7.9):受影响 3.openEuler-22.03-LTS-SP3(3.9.9):受影响 4.openEuler-22.03-LTS-SP4(3.9.9):受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(3.11.11):否 2.openEuler-20.03-LTS-SP4(3.7.9):否 3.openEuler-22.03-LTS-SP3(3.9.9):否 4.openEuler-22.03-LTS-SP4(3.9.9):否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(3.11.11):暂不修复-暂无解决方案或补丁 2.openEuler-20.03-LTS-SP4(3.7.9):暂不修复-暂无解决方案或补丁 3.openEuler-22.03-LTS-SP3(3.9.9):暂不修复-暂无解决方案或补丁 4.openEuler-22.03-LTS-SP4(3.9.9):暂不修复-暂无解决方案或补丁 5.openEuler-24.03-LTS:暂不修复-暂无解决方案或补丁 6.openEuler-24.03-LTS-Next:暂不修复-暂无解决方案或补丁 7.openEuler-24.03-LTS-SP1:暂不修复-暂无解决方案或补丁 8.openEuler-24.03-LTS-SP2:暂不修复-暂无解决方案或补丁
一、漏洞信息 漏洞编号:[CVE-2024-3220](https://nvd.nist.gov/vuln/detail/CVE-2024-3220) 漏洞归属组件:[python3](https://gitee.com/src-openeuler/python3) 漏洞归属的版本:3.10.2,3.10.9,3.11.11,3.11.4,3.11.6,3.7.9,3.8.5,3.9.9 CVSS V3.0分值: BaseScore:4.6 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L 漏洞简述: There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning other users can create invalid files to cause MemoryError to be raised on Python runtime startup or have file extensions be interpreted as the incorrect file type.This defect is caused by the default locations of Linux and macOS platforms (such as “/etc/mime.types”) also being used on Windows, where they are user-writable locations (“C: etc mime.types”).To work-around this issue a user can call mimetypes.init() with an empty list (“[]”) on Windows platforms to avoid using the default list of known file locations. 漏洞公开时间:2025-02-15 01:15:15 漏洞创建时间:2025-02-15 03:44:15 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-3220 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | cna.python.org | https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/ | | | af854a3a-2127-422b-91ae-364da2661108 | http://www.openwall.com/lists/oss-security/2025/02/14/8 | | | af854a3a-2127-422b-91ae-364da2661108 | https://security.netapp.com/advisory/ntap-20250314-0001/ | | | suse_bugzilla | https://mail.python.org/mailman3/lists/security-announce.python.org/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-3220 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://seclists.org/oss-sec/2025/q1/138 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-3220 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2345794 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | http://www.openwall.com/lists/oss-security/2025/02/14/8 | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://github.com/CVEProject/cvelistV5/blob/main//cves/2024/3xxx/CVE-2024-3220.json | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | suse_bugzilla | https://security.netapp.com/advisory/ntap-20250314-0001/ | https://bugzilla.suse.com/show_bug.cgi?id=1241914 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-3220 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: CPython 标准库模块“mimetypes”存在一个缺陷,在 Windows 上,已知文件位置的默认列表是可写的,这意味着其他用户可以创建无效文件,导致 Python 运行时启动时引发 MemoryError,或者将文件扩展名解释为错误的文件类型。此缺陷是由 Linux 和 macOS 平台的默认位置(例如“/etc/mime.types”)也在 Windows 上使用引起的,这些位置是用户可写的(“C: etc mime.types”)。要解决此问题,用户可以在 Windows 平台上调用 mimetypes.init() 并传递一个空列表(“【】”),以避免使用已知文件位置的默认列表。 openEuler评分: 4.6 Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(3.11.11):受影响 2.openEuler-20.03-LTS-SP4(3.7.9):受影响 3.openEuler-22.03-LTS-SP3(3.9.9):受影响 4.openEuler-22.03-LTS-SP4(3.9.9):受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(3.11.11):否 2.openEuler-20.03-LTS-SP4(3.7.9):否 3.openEuler-22.03-LTS-SP3(3.9.9):否 4.openEuler-22.03-LTS-SP4(3.9.9):否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(3.11.11):暂不修复-暂无解决方案或补丁 2.openEuler-20.03-LTS-SP4(3.7.9):暂不修复-暂无解决方案或补丁 3.openEuler-22.03-LTS-SP3(3.9.9):暂不修复-暂无解决方案或补丁 4.openEuler-22.03-LTS-SP4(3.9.9):暂不修复-暂无解决方案或补丁 5.openEuler-24.03-LTS:暂不修复-暂无解决方案或补丁 6.openEuler-24.03-LTS-Next:暂不修复-暂无解决方案或补丁 7.openEuler-24.03-LTS-SP1:暂不修复-暂无解决方案或补丁 8.openEuler-24.03-LTS-SP2:暂不修复-暂无解决方案或补丁
Comments (
5
)
Sign in
to comment
Status
已挂起
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
陈棋德
dillon_chen
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNFIXED
sig/Base-service
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (32)
Tags (64)
master
openEuler-20.03-LTS-SP4
openEuler-25.09
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-Next
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-LoongArch
openEuler-25.03
sync-pr410-master-to-openEuler-25.03
sync-pr411-openEuler-24.03-LTS-Next-to-openEuler-24.03-LTS-SP1
openEuler-22.03-LTS-SP1
openEuler-24.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS-SP2
openEuler-20.03-LTS-SP1
openEuler-23.09
openEuler-23.03
openEuler-22.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-Next
openEuler-20.03-LTS
openEuler-21.03
openEuler-21.09
openEuler-20.09
openEuler1.0
openEuler1.0-base
openEuler-20.03-LTS-SP4-update-20251024
openEuler-25.09-release
openEuler-24.03-LTS-update-20250926
openEuler-22.03-LTS-SP3-update-20250926
openEuler-22.03-LTS-SP4-update-20250926
openEuler-24.03-LTS-SP1-update-20250926
openEuler-24.03-LTS-SP2-update-20250926
openEuler-22.03-LTS-SP3-update-20250919
openEuler-20.03-LTS-SP4-update-20250919
openEuler-22.03-LTS-SP4-update-20250919
openEuler-24.03-LTS-SP1-update-20250919
openEuler-24.03-LTS-SP2-update-20250919
openEuler-22.03-LTS-SP4-update-20250912
openEuler-24.03-LTS-update-20250912
openEuler-22.03-LTS-SP3-update-20250912
openEuler-24.03-LTS-SP1-update-20250911
openEuler-24.03-LTS-SP2-update-20250905
openEuler-22.03-LTS-SP3-update-20250905
openEuler-22.03-LTS-SP4-update-20250905
openEuler-24.03-LTS-SP1-update-20250905
openEuler-24.03-LTS-SP1-update-20250711
openEuler-24.03-LTS-update-20250711
openEuler-24.03-LTS-SP2-update-20250711
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-update-20250221
openEuler-24.03-LTS-update-20250221
openEuler-22.03-LTS-SP4-update-20250221
openEuler-22.03-LTS-SP3-update-20250221
openEuler-22.03-LTS-SP1-update-20250110
openEuler-22.03-LTS-SP3-update-20250110
openEuler-22.03-LTS-SP4-update-20250110
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP1-update-20241129
openEuler-22.03-LTS-SP3-update-20241129
openEuler-22.03-LTS-SP4-update-20241129
openEuler-24.03-LTS-update-20241129
openEuler-22.03-LTS-SP1-update-20241115
openEuler-22.03-LTS-SP3-update-20241115
openEuler-24.03-LTS-update-20241108
openEuler-22.03-LTS-SP4-update-before-20241025
openEuler-22.03-LTS-SP4-before-20241025
openEuler-24.03-LTS-update-before-20241025
openEuler-20.03-LTS-SP4-update-20241101
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/src-openeuler/python3.git
git@gitee.com:src-openeuler/python3.git
src-openeuler
python3
python3
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register