登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
5
Star
0
Fork
12
src-openEuler
/
python-black
代码
Issues
2
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2024-21503
待办的
#I9H9Q6
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2024-04-17 01:07
一、漏洞信息 漏洞编号:[CVE-2024-21503](https://nvd.nist.gov/vuln/detail/CVE-2024-21503) 漏洞归属组件:[python-black](https://gitee.com/src-openeuler/python-black) 漏洞归属的版本:24.10.0,24.2.0,24.4.2 CVSS V3.0分值: BaseScore:5.3 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 漏洞简述: Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this vulnerability by crafting a malicious input that causes a denial of service.Exploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings. 漏洞公开时间:2024-03-19 13:15:09 漏洞创建时间:2024-04-16 17:07:56 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-21503 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | report.snyk.io | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | | report.snyk.io | https://github.com/psf/black/releases/tag/24.3.0 | | | report.snyk.io | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | | suse_bugzilla | https://github.com/psf/black/releases/tag/24.3.0 | https://bugzilla.suse.com/show_bug.cgi?id=1221530 | | suse_bugzilla | https://black.readthedocs.io/en/stable/change_log.html#id1 | https://bugzilla.suse.com/show_bug.cgi?id=1221530 | | redhat_bugzilla | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://github.com/psf/black/releases/tag/24.3.0 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:3781 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | ubuntu | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://github.com/psf/black/releases/tag/24.3.0 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-21503 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2024-21503 | | cve_search | | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | cve_search | | https://github.com/psf/black/releases/tag/24.3.0 | | cve_search | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | github_advisory | https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2024-48.yaml | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2024-21503 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://github.com/psf/black/releases/tag/24.3.0 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | snyk | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | snyk | https://github.com/psf/black/releases/tag/24.3.0 | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | report.snyk.io | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | redhat_bugzilla | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | ubuntu | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | github_advisory | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 5.3 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 受影响版本排查(受影响/不受影响): 1.master(24.10.0):受影响 2.openEuler-24.03-LTS(24.2.0):受影响 3.openEuler-20.03-LTS-SP1:不受影响 4.openEuler-20.03-LTS-SP4:不受影响 5.openEuler-22.03-LTS:不受影响 6.openEuler-22.03-LTS-Next:不受影响 7.openEuler-22.03-LTS-SP1:不受影响 8.openEuler-22.03-LTS-SP2:不受影响 9.openEuler-22.03-LTS-SP3:不受影响 10.openEuler-24.03-LTS-Next(24.2.0):不受影响 11.openEuler-22.03-LTS-SP4: 12.openEuler-24.03-LTS-SP2(24.2.0): 修复是否涉及abi变化(是/否): 1.master(24.10.0):否 2.openEuler-20.03-LTS-SP1:否 3.openEuler-20.03-LTS-SP4:否 4.openEuler-22.03-LTS:否 5.openEuler-22.03-LTS-Next:否 6.openEuler-22.03-LTS-SP1:否 7.openEuler-22.03-LTS-SP2:否 8.openEuler-22.03-LTS-SP3:否 9.openEuler-24.03-LTS(24.2.0):否 10.openEuler-24.03-LTS-Next(24.2.0):否 11.openEuler-22.03-LTS-SP4: 12.openEuler-24.03-LTS-SP2(24.2.0): 原因说明: 1.master(24.10.0): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3: 4.openEuler-22.03-LTS-SP4: 5.openEuler-24.03-LTS(24.2.0): 6.openEuler-24.03-LTS-Next(24.2.0): 7.openEuler-24.03-LTS-SP1(24.2.0): 8.openEuler-24.03-LTS-SP2(24.2.0):
一、漏洞信息 漏洞编号:[CVE-2024-21503](https://nvd.nist.gov/vuln/detail/CVE-2024-21503) 漏洞归属组件:[python-black](https://gitee.com/src-openeuler/python-black) 漏洞归属的版本:24.10.0,24.2.0,24.4.2 CVSS V3.0分值: BaseScore:5.3 Medium Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 漏洞简述: Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this vulnerability by crafting a malicious input that causes a denial of service.Exploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings. 漏洞公开时间:2024-03-19 13:15:09 漏洞创建时间:2024-04-16 17:07:56 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-21503 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | report.snyk.io | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | | report.snyk.io | https://github.com/psf/black/releases/tag/24.3.0 | | | report.snyk.io | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | | suse_bugzilla | https://github.com/psf/black/releases/tag/24.3.0 | https://bugzilla.suse.com/show_bug.cgi?id=1221530 | | suse_bugzilla | https://black.readthedocs.io/en/stable/change_log.html#id1 | https://bugzilla.suse.com/show_bug.cgi?id=1221530 | | redhat_bugzilla | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://github.com/psf/black/releases/tag/24.3.0 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:3781 | https://bugzilla.redhat.com/show_bug.cgi?id=2270236 | | ubuntu | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://github.com/psf/black/releases/tag/24.3.0 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2024-21503 | https://ubuntu.com/security/CVE-2024-21503 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-21503 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2024-21503 | | cve_search | | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | cve_search | | https://github.com/psf/black/releases/tag/24.3.0 | | cve_search | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | github_advisory | https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2024-48.yaml | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2024-21503 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | github_advisory | https://github.com/psf/black/releases/tag/24.3.0 | https://github.com/advisories/GHSA-fj7x-q9j7-g6q6 | | snyk | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | | snyk | https://github.com/psf/black/releases/tag/24.3.0 | https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | report.snyk.io | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | redhat_bugzilla | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | ubuntu | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | github_advisory | | | | https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: openEuler评分: 5.3 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 受影响版本排查(受影响/不受影响): 1.master(24.10.0):受影响 2.openEuler-24.03-LTS(24.2.0):受影响 3.openEuler-20.03-LTS-SP1:不受影响 4.openEuler-20.03-LTS-SP4:不受影响 5.openEuler-22.03-LTS:不受影响 6.openEuler-22.03-LTS-Next:不受影响 7.openEuler-22.03-LTS-SP1:不受影响 8.openEuler-22.03-LTS-SP2:不受影响 9.openEuler-22.03-LTS-SP3:不受影响 10.openEuler-24.03-LTS-Next(24.2.0):不受影响 11.openEuler-22.03-LTS-SP4: 12.openEuler-24.03-LTS-SP2(24.2.0): 修复是否涉及abi变化(是/否): 1.master(24.10.0):否 2.openEuler-20.03-LTS-SP1:否 3.openEuler-20.03-LTS-SP4:否 4.openEuler-22.03-LTS:否 5.openEuler-22.03-LTS-Next:否 6.openEuler-22.03-LTS-SP1:否 7.openEuler-22.03-LTS-SP2:否 8.openEuler-22.03-LTS-SP3:否 9.openEuler-24.03-LTS(24.2.0):否 10.openEuler-24.03-LTS-Next(24.2.0):否 11.openEuler-22.03-LTS-SP4: 12.openEuler-24.03-LTS-SP2(24.2.0): 原因说明: 1.master(24.10.0): 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP3: 4.openEuler-22.03-LTS-SP4: 5.openEuler-24.03-LTS(24.2.0): 6.openEuler-24.03-LTS-Next(24.2.0): 7.openEuler-24.03-LTS-SP1(24.2.0): 8.openEuler-24.03-LTS-SP2(24.2.0):
评论 (
9
)
登录
后才可以发表评论
状态
待办的
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
caodongxia
caodongxia
负责人
协作者
+负责人
+协作者
标签
CVE/UNFIXED
sig/sig-python-modul
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (8)
标签 (5)
master
openEuler-25.09
openEuler-25.03
openEuler-24.09
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-24.09-release
openEuler-24.03-LTS-release
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/python-black.git
git@gitee.com:src-openeuler/python-black.git
src-openeuler
python-black
python-black
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册