低危 Tensorflow分段错误漏洞

CVE编号

CVE-2020-15190

利用情况

暂无

补丁情况

官方补丁

披露时间

2020-09-26
漏洞描述
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 在版本1.15.4、2.0.3、2.1.2、2.2.1和2.3.1之前的Tensorflow中,`tf.raw_ops.Switch`操作将张量和布尔值作为输入,并输出两个张量。取决于布尔值,张量之一就是输入张量,而另一个应该是空张量。但是,紧急的运行时会遍历输出中的所有张量。由于只定义了一个张量,另一个是“ nullptr”,因此我们将引用绑定到“ nullptr”。这是未定义的行为,如果使用`-fsanitize = null`进行编译,则会报告为错误。在这种情况下,这会导致分段错误。问题已在提交da8558533d925694483d2c136a9220d6d49d843c中修复,并在TensorFlow版本1.15.4、2.0.3、2.1.2、2.2.1或2.3.1中发布。

解决建议

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1


受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 tensorflow tensorflow * Up to
(excluding)
1.15.4
运行在以下环境
应用 tensorflow tensorflow * From
(including)
2.0.0
Up to
(excluding)
2.0.3
运行在以下环境
应用 tensorflow tensorflow * From
(including)
2.1.0
Up to
(excluding)
2.1.2
运行在以下环境
应用 tensorflow tensorflow * From
(including)
2.2.0
Up to
(excluding)
2.2.1
运行在以下环境
应用 tensorflow tensorflow * From
(including)
2.3.0
Up to
(excluding)
2.3.1
运行在以下环境
系统 opensuse_Leap_15.2 tensorflow2 * Up to
(excluding)
2.1.2-lp152.7.3.1
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-20 输入验证不恰当
CWE-476 空指针解引用
阿里云安全产品覆盖情况