CVE-2021-37659 (CNNVD-202108-1220)

HIGH
中文标题:
Google TensorFlow代码问题漏洞
英文标题:
Out of bounds read via null pointer dereference in TensorFlow
CVSS分数: 7.3
发布时间: 2021-08-12 20:25:17
漏洞类型: 代码问题
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 存在代码问题漏洞,攻击者可以通过在所有不需要广播的二进制"cwise"操作中绑定对空指针的引用来导致未定义的行为。以下产品及版本收到影响:TensorFlow 2.5.1、TensorFlow 2.4.3 和 TensorFlow 2.3.4。

英文描述:

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can cause undefined behavior via binding a reference to null pointer in all binary cwise operations that don't require broadcasting (e.g., gradients of binary cwise operations). The [implementation](https://github.com/tensorflow/tensorflow/blob/84d053187cb80d975ef2b9684d4b61981bca0c41/tensorflow/core/kernels/cwise_ops_common.h#L264) assumes that the two inputs have exactly the same number of elements but does not check that. Hence, when the eigen functor executes it triggers heap OOB reads and undefined behavior due to binding to nullptr. We have patched the issue in GitHub commit 93f428fd1768df147171ed674fee1fc5ab8309ec. 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.

CWE类型:
CWE-476 CWE-125
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
tensorflow tensorflow >= 2.5.0, < 2.5.1 - - cpe:2.3:a:tensorflow:tensorflow:>=_2.5.0,_<_2.5.1:*:*:*:*:*:*:*
tensorflow tensorflow >= 2.4.0, < 2.4.3 - - cpe:2.3:a:tensorflow:tensorflow:>=_2.4.0,_<_2.4.3:*:*:*:*:*:*:*
tensorflow tensorflow < 2.3.4 - - cpe:2.3:a:tensorflow:tensorflow:<_2.3.4:*:*:*:*:*:*:*
google tensorflow * - - cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
google tensorflow 2.5.0 - - cpe:2.3:a:google:tensorflow:2.5.0:*:*:*:*:*:*:*
google tensorflow 2.6.0 - - cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.3
CVSS向量: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
机密性
HIGH
完整性
LOW
可用性
HIGH
时间信息
发布时间:
2021-08-12 20:25:17
修改时间:
2024-08-04 01:23:01
创建时间:
2025-11-11 15:36:58
更新时间:
2025-11-11 15:56:51
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2021-37659 2025-11-11 15:21:02 2025-11-11 07:36:58
NVD nvd_CVE-2021-37659 2025-11-11 14:57:40 2025-11-11 07:45:16
CNNVD cnnvd_CNNVD-202108-1220 2025-11-11 15:10:42 2025-11-11 07:56:51
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:56:51
vulnerability_type: 未提取 → 代码问题; cnnvd_id: 未提取 → CNNVD-202108-1220; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码问题
  • cnnvd_id: 未提取 -> CNNVD-202108-1220
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:16
affected_products_count: 3 → 6; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 6
  • data_sources: ['cve'] -> ['cve', 'nvd']