CVE-2021-41219 (CNNVD-202111-528)

HIGH
中文标题:
Google TensorFlow 缓冲区错误漏洞
英文标题:
Undefined behavior via `nullptr` reference binding in sparse matrix multiplication
CVSS分数: 7.8
发布时间: 2021-11-05 20:50:17
漏洞类型: 缓冲区错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 存在缓冲区错误漏洞,该漏洞源于在受影响的版本中,稀疏矩阵乘法的代码通过绑定对“nullptr”的引用而容易受到未定义行为的影响。

英文描述:

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.

CWE类型:
CWE-125 CWE-824
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
tensorflow tensorflow >= 2.6.0, < 2.6.1 - - cpe:2.3:a:tensorflow:tensorflow:>=_2.6.0,_<_2.6.1:*:*:*:*:*:*:*
tensorflow tensorflow >= 2.5.0, < 2.5.2 - - cpe:2.3:a:tensorflow:tensorflow:>=_2.5.0,_<_2.5.2:*:*:*:*:*:*:*
tensorflow tensorflow < 2.4.4 - - cpe:2.3:a:tensorflow:tensorflow:<_2.4.4:*:*:*:*:*:*:*
google tensorflow * - - cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
google tensorflow 2.6.0 - - cpe:2.3:a:google:tensorflow:2.6.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.8
CVSS向量: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2021-11-05 20:50:17
修改时间:
2024-08-04 03:08:31
创建时间:
2025-11-11 15:37:02
更新时间:
2025-11-11 15:57:01
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2021-41219 2025-11-11 15:21:06 2025-11-11 07:37:02
NVD nvd_CVE-2021-41219 2025-11-11 14:57:44 2025-11-11 07:45:21
CNNVD cnnvd_CNNVD-202111-528 2025-11-11 15:10:45 2025-11-11 07:57:01
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:57:01
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202111-528; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 缓冲区错误
  • cnnvd_id: 未提取 -> CNNVD-202111-528
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:21
affected_products_count: 3 → 5; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 5
  • data_sources: ['cve'] -> ['cve', 'nvd']