CVE-2021-41197 (CNNVD-202111-510)
中文标题:
Google TensorFlow 输入验证错误漏洞
英文标题:
Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes
漏洞描述
中文描述:
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 存在输入验证错误漏洞,该漏洞源于 TensorFlow 允许张量具有大量维度,并且每个维度都可以根据需要进行调整。
英文描述:
TensorFlow is an open source platform for machine learning. In affected versions TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an `int64_t`. If an overflow occurs, `MultiplyWithoutOverflow` would return a negative result. In the majority of TensorFlow codebase this then results in a `CHECK`-failure. Newer constructs exist which return a `Status` instead of crashing the binary. This is similar to CVE-2021-29584. 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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | 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:*:*:*:*:*:*:*
|
| tensorflow | * | - | - |
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2021-41197 |
2025-11-11 15:21:06 | 2025-11-11 07:37:02 |
| NVD | nvd_CVE-2021-41197 |
2025-11-11 14:57:44 | 2025-11-11 07:45:21 |
| CNNVD | cnnvd_CNNVD-202111-510 |
2025-11-11 15:10:45 | 2025-11-11 07:57:00 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 输入验证错误
- cnnvd_id: 未提取 -> CNNVD-202111-510
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 3 -> 4
- data_sources: ['cve'] -> ['cve', 'nvd']