CVE-2021-41195 (CNNVD-202111-512)
中文标题:
Google TensorFlow 输入验证错误漏洞
英文标题:
Crash in `tf.math.segment_*` operations
漏洞描述
中文描述:
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 存在输入验证错误漏洞,在受影响的版本中,如果 `segment_ids` 中的段 ID 很大,`tf.math.segment_*` 操作的实现会导致 `CHECK` 失败相关的中止(和拒绝服务)。
英文描述:
TensorFlow is an open source platform for machine learning. In affected versions the implementation of `tf.math.segment_*` operations results in a `CHECK`-fail related abort (and denial of service) if a segment id in `segment_ids` is large. This is similar to CVE-2021-29584 (and similar other reported vulnerabilities in TensorFlow, localized to specific APIs): the implementation (both on CPU and GPU) computes the output shape using `AddDim`. However, if the number of elements in the tensor overflows an `int64_t` value, `AddDim` results in a `CHECK` failure which provokes a `std::abort`. Instead, code should use `AddDimWithStatus`. 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-41195 |
2025-11-11 15:21:06 | 2025-11-11 07:37:02 |
| NVD | nvd_CVE-2021-41195 |
2025-11-11 14:57:44 | 2025-11-11 07:45:21 |
| CNNVD | cnnvd_CNNVD-202111-512 |
2025-11-11 15:10:45 | 2025-11-11 07:57:00 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 输入验证错误
- cnnvd_id: 未提取 -> CNNVD-202111-512
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 3 -> 4
- data_sources: ['cve'] -> ['cve', 'nvd']