登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025 年度开源项目评选中
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
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-37648
已完成
#I469L9
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2021-08-19 09:11
一、漏洞信息 漏洞编号:[CVE-2021-37648](https://nvd.nist.gov/vuln/detail/CVE-2021-37648) 漏洞归属组件: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. In affected versions the code for `tf.raw_ops.SaveV2` does not properly validate the inputs and an attacker can trigger a null pointer dereference. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/save_restore_v2_ops.cc) uses `ValidateInputs` to check that the input arguments are valid. This validation would have caught the illegal state represented by the reproducer above. However, the validation uses `OP_REQUIRES` which translates to setting the `Status` object of the current `OpKernelContext` to an error status, followed by an empty `return` statement which just terminates the execution of the function it is present in. However, this does not mean that the kernel execution is finalized: instead, execution continues from the next line in `Compute` that follows the call to `ValidateInputs`. This is equivalent to lacking the validation. We have patched the issue in GitHub commit 9728c60e136912a12d99ca56e106b7cce7af5986. 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 06:15 漏洞创建时间:2021-08-19 09:11:37 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-37648 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/doc/md/manual.md 二、漏洞分析结构反馈 影响性分析说明: TensorFlow 是一个端到端的机器学习开源平台。在受影响的版本中,`tf.raw_ops.SaveV2` 的代码没有正确验证输入,攻击者可以触发空指针取消引用。[实现](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/save_restore_v2_ops.cc)使用`验证输入参数`来检查。此验证将捕获由上述复制器表示的非法状态。然而,验证使用“OP_REQUIRES”,它将当前“OpKernelContext”的“Status”对象设置为错误状态,然后是一个空的“return”语句,它只是终止它所在函数的执行。然而,这并不意味着内核执行完成:相反,从调用 ValidateInputs 之后的 Compute 中的下一行继续执行。这相当于缺少验证。我们已在 GitHub 提交 9728c60e136912a12d99ca56e106b7cce7af5986 中修补了该问题。该修复程序将包含在 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-37648](https://nvd.nist.gov/vuln/detail/CVE-2021-37648) 漏洞归属组件: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. In affected versions the code for `tf.raw_ops.SaveV2` does not properly validate the inputs and an attacker can trigger a null pointer dereference. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/save_restore_v2_ops.cc) uses `ValidateInputs` to check that the input arguments are valid. This validation would have caught the illegal state represented by the reproducer above. However, the validation uses `OP_REQUIRES` which translates to setting the `Status` object of the current `OpKernelContext` to an error status, followed by an empty `return` statement which just terminates the execution of the function it is present in. However, this does not mean that the kernel execution is finalized: instead, execution continues from the next line in `Compute` that follows the call to `ValidateInputs`. This is equivalent to lacking the validation. We have patched the issue in GitHub commit 9728c60e136912a12d99ca56e106b7cce7af5986. 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 06:15 漏洞创建时间:2021-08-19 09:11:37 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-37648 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/doc/md/manual.md 二、漏洞分析结构反馈 影响性分析说明: TensorFlow 是一个端到端的机器学习开源平台。在受影响的版本中,`tf.raw_ops.SaveV2` 的代码没有正确验证输入,攻击者可以触发空指针取消引用。[实现](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/save_restore_v2_ops.cc)使用`验证输入参数`来检查。此验证将捕获由上述复制器表示的非法状态。然而,验证使用“OP_REQUIRES”,它将当前“OpKernelContext”的“Status”对象设置为错误状态,然后是一个空的“return”语句,它只是终止它所在函数的执行。然而,这并不意味着内核执行完成:相反,从调用 ValidateInputs 之后的 Compute 中的下一行继续执行。这相当于缺少验证。我们已在 GitHub 提交 9728c60e136912a12d99ca56e106b7cce7af5986 中修补了该问题。该修复程序将包含在 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):否
评论 (
5
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
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 帐号,请先登录后再操作。
立即登录
没有帐号,去注册