中危 google tensorflow 跨界内存读
CVE编号
CVE-2021-41219利用情况
暂无补丁情况
官方补丁披露时间
2021-11-06漏洞描述
TensorFlow is an open source platform for machine learning. In affected versions the code for sparse matrix multiplication is vulnerable to undefined behavior via binding a reference to `nullptr`. This occurs whenever the dimensions of `a` or `b` are 0 or less. In the case on one of these is 0, an empty output tensor should be allocated (to conserve the invariant that output tensors are always allocated when the operation is successful) but nothing should be written to it (that is, we should return early from the kernel implementation). Otherwise, attempts to write to this empty tensor would result in heap OOB access. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/tensorflow/tensorflow/commit/e6cf28c72ba2eb949ca950d834dd6... | |
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-4f99-p9c2-3j8x |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | tensorflow | * | Up to (excluding) 2.4.4 | ||||||
运行在以下环境 | |||||||||
应用 | tensorflow | * | From (including) 2.5.0 | Up to (excluding) 2.5.2 | |||||
运行在以下环境 | |||||||||
应用 | tensorflow | 2.6.0 | - |
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-125 | 跨界内存读 |
CWE-824 | 使用未经初始化的指针 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论