CVE-2022-21731 (CNNVD-202202-195)

MEDIUM
中文标题:
Google TensorFlow 安全漏洞
英文标题:
Type confusion leading to segfault in Tensorflow
CVSS分数: 6.5
发布时间: 2022-02-03 11:37:56
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Tensorflow 存在安全漏洞,该漏洞源于ConcatV2的形状推断实现可用于通过由类型混淆引起的段错误触发拒绝服务攻击。

英文描述:

Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank. However, `WithRankAtLeast` receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented. Due to the fact that `min_rank` is a 32-bits value and the value of `axis`, the `rank` argument is a negative value, so the error check is bypassed. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

CWE类型:
CWE-843
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
google tensorflow * - - cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
google tensorflow 2.7.0 - - cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
6.5
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
机密性
NONE
完整性
NONE
可用性
HIGH
时间信息
发布时间:
2022-02-03 11:37:56
修改时间:
2025-05-05 16:32:12
创建时间:
2025-11-11 15:37:17
更新时间:
2025-11-11 15:57:08
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2022-21731 2025-11-11 15:21:16 2025-11-11 07:37:17
NVD nvd_CVE-2022-21731 2025-11-11 14:58:14 2025-11-11 07:45:33
CNNVD cnnvd_CNNVD-202202-195 2025-11-11 15:10:49 2025-11-11 07:57:08
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:57:08
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202202-195; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202202-195
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:33
affected_products_count: 0 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 0 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']