登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
2025 Gitee 年度开源项目评选投票进行中,快为你的心仪项目助力!
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
6
Star
4
Fork
57
src-openEuler
/
tensorflow
关闭
代码
Issues
211
Pull Requests
8
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2021-37639
已完成
#I469CA
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2021-08-19 03:12
一、漏洞信息 漏洞编号:[CVE-2021-37639](https://nvd.nist.gov/vuln/detail/CVE-2021-37639) 漏洞归属组件:tensorflow 漏洞归属的版本:2.3.1 CVSS V3.0分值: BaseScore:7.8 High Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: TensorFlow is an end-to-end open source platform for machine learning. When restoring tensors via raw APIs, if the tensor name is not provided, TensorFlow can be tricked into dereferencing a null pointer. Alternatively, attackers can read memory outside the bounds of heap allocated data by providing some tensor names but not enough for a successful restoration. The [implementation](https://github.com/tensorflow/tensorflow/blob/47a06f40411a69c99f381495f490536972152ac0/tensorflow/core/kernels/save_restore_tensor.cc#L158-L159) retrieves the tensor list corresponding to the `tensor_name` user controlled input and immediately retrieves the tensor at the restoration index (controlled via `preferred_shard` argument). This occurs without validating that the provided list has enough values. If the list is empty this results in dereferencing a null pointer (undefined behavior). If, however, the list has some elements, if the restoration index is outside the bounds this results in heap OOB read. We have patched the issue in GitHub commit 9e82dce6e6bd1f36a57e08fa85af213e2b2f2622. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range. 漏洞公开时间:2021-08-13 03:15 漏洞创建时间:2021-08-19 03:12:53 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-37639 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/doc/md/manual.md 二、漏洞分析结构反馈 影响性分析说明: TensorFlow 是一个端到端的机器学习开源平台。通过原始 API 恢复张量时,如果未提供张量名称,则 TensorFlow 可能会被诱骗取消引用空指针。或者,攻击者可以通过提供一些张量名称来读取堆分配数据范围之外的内存,但不足以成功恢复。[实现](https://github.com/tensorflow/tensorflow/blob/47a06f40411a69c99f381495f490536972152ac0/tensorflow/core/kernels/save_restore_tensor.cc#L158-L159 立即检索到用户输入的tensor 控制列表和对应的tensor 列表在恢复索引处检索张量(通过“preferred_shard”参数控制)。发生这种情况时并未验证提供的列表是否具有足够的值。如果列表为空,这将导致取消引用空指针(未定义行为)。但是,如果列表有一些元素,如果恢复索引超出范围,这将导致堆 OOB 读取。我们已在 GitHub 提交 9e82dce6e6bd1f36a57e08fa85af213e2b2f2622 中修补了该问题。该修复程序将包含在 TensorFlow 2.6.0 中。我们还将在 TensorFlow 2.5.1、TensorFlow 2.4.3 和 TensorFlow 2.3.4 上挑选此提交,因为它们也受到影响并且仍在支持范围内。 openEuler评分: 7.8 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(2.3.1):受影响 2.openEuler-21.03(2.3.1):受影响 3.openEuler-21.09(2.3.1):受影响 修复是否涉及abi变化(是/否): 1.master(2.3.1):否 2.openEuler-21.03(2.3.1):否 3.openEuler-21.09(2.3.1):否
一、漏洞信息 漏洞编号:[CVE-2021-37639](https://nvd.nist.gov/vuln/detail/CVE-2021-37639) 漏洞归属组件:tensorflow 漏洞归属的版本:2.3.1 CVSS V3.0分值: BaseScore:7.8 High Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: TensorFlow is an end-to-end open source platform for machine learning. When restoring tensors via raw APIs, if the tensor name is not provided, TensorFlow can be tricked into dereferencing a null pointer. Alternatively, attackers can read memory outside the bounds of heap allocated data by providing some tensor names but not enough for a successful restoration. The [implementation](https://github.com/tensorflow/tensorflow/blob/47a06f40411a69c99f381495f490536972152ac0/tensorflow/core/kernels/save_restore_tensor.cc#L158-L159) retrieves the tensor list corresponding to the `tensor_name` user controlled input and immediately retrieves the tensor at the restoration index (controlled via `preferred_shard` argument). This occurs without validating that the provided list has enough values. If the list is empty this results in dereferencing a null pointer (undefined behavior). If, however, the list has some elements, if the restoration index is outside the bounds this results in heap OOB read. We have patched the issue in GitHub commit 9e82dce6e6bd1f36a57e08fa85af213e2b2f2622. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range. 漏洞公开时间:2021-08-13 03:15 漏洞创建时间:2021-08-19 03:12:53 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-37639 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/doc/md/manual.md 二、漏洞分析结构反馈 影响性分析说明: TensorFlow 是一个端到端的机器学习开源平台。通过原始 API 恢复张量时,如果未提供张量名称,则 TensorFlow 可能会被诱骗取消引用空指针。或者,攻击者可以通过提供一些张量名称来读取堆分配数据范围之外的内存,但不足以成功恢复。[实现](https://github.com/tensorflow/tensorflow/blob/47a06f40411a69c99f381495f490536972152ac0/tensorflow/core/kernels/save_restore_tensor.cc#L158-L159 立即检索到用户输入的tensor 控制列表和对应的tensor 列表在恢复索引处检索张量(通过“preferred_shard”参数控制)。发生这种情况时并未验证提供的列表是否具有足够的值。如果列表为空,这将导致取消引用空指针(未定义行为)。但是,如果列表有一些元素,如果恢复索引超出范围,这将导致堆 OOB 读取。我们已在 GitHub 提交 9e82dce6e6bd1f36a57e08fa85af213e2b2f2622 中修补了该问题。该修复程序将包含在 TensorFlow 2.6.0 中。我们还将在 TensorFlow 2.5.1、TensorFlow 2.4.3 和 TensorFlow 2.3.4 上挑选此提交,因为它们也受到影响并且仍在支持范围内。 openEuler评分: 7.8 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(2.3.1):受影响 2.openEuler-21.03(2.3.1):受影响 3.openEuler-21.09(2.3.1):受影响 修复是否涉及abi变化(是/否): 1.master(2.3.1):否 2.openEuler-21.03(2.3.1):否 3.openEuler-21.09(2.3.1):否
评论 (
4
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
sinever
sinever
负责人
协作者
+负责人
+协作者
标签
CVE/FIXED
sig/sig-ai-bigdata
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (23)
标签 (18)
master
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-25.09
openEuler-25.03
openEuler-24.03-LTS-SP1
sync-pr89-openEuler-24.03-LTS-SP1-riscv64-to-openEuler-24.03-LTS-Next
openEuler-24.09
openEuler-23.09
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-23.03
sync-pr58-N/A-to-openEuler-22.03-LTS-Next
sync-pr58-N/A-to-openEuler-22.03-LTS
openEuler-22.03-LTS
openEuler-22.09
openEuler-21.09
openEuler-21.03
openEuler-20.09
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-24.09-release
openEuler-22.03-LTS-SP4-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
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-21.03-20210330
openEuler-20.09-20200929
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/tensorflow.git
git@gitee.com:src-openeuler/tensorflow.git
src-openeuler
tensorflow
tensorflow
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册