CVE-2022-29210 (CNNVD-202205-3935)
中文标题:
Google TensorFlow 缓冲区错误漏洞
英文标题:
Heap buffer overflow due to incorrect hash function in TensorFlow
漏洞描述
中文描述:
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 2.8.0版本存在安全漏洞,该漏洞源于TensorKey散列函数使用了非常差的常量散列函数AllocatedBytes()来实现总估计。
英文描述:
TensorFlow is an open source platform for machine learning. In version 2.8.0, the `TensorKey` hash function used total estimated `AllocatedBytes()`, which (a) is an estimate per tensor, and (b) is a very poor hash function for constants (e.g. `int32_t`). It also tried to access individual tensor bytes through `tensor.data()` of size `AllocatedBytes()`. This led to ASAN failures because the `AllocatedBytes()` is an estimate of total bytes allocated by a tensor, including any pointed-to constructs (e.g. strings), and does not refer to contiguous bytes in the `.data()` buffer. The discoverers could not use this byte vector anyway because types such as `tstring` include pointers, whereas they needed to hash the string values themselves. This issue is patched in Tensorflow versions 2.9.0 and 2.8.1.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| tensorflow | tensorflow | == 2.8.0 | - | - |
cpe:2.3:a:tensorflow:tensorflow:==_2.8.0:*:*:*:*:*:*:*
|
| tensorflow | 2.8.0 | - | - |
cpe:2.3:a:google:tensorflow:2.8.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
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-2022-29210 |
2025-11-11 15:21:23 | 2025-11-11 07:37:29 |
| NVD | nvd_CVE-2022-29210 |
2025-11-11 14:58:18 | 2025-11-11 07:45:44 |
| CNNVD | cnnvd_CNNVD-202205-3935 |
2025-11-11 15:10:54 | 2025-11-11 07:57:18 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 缓冲区错误
- cnnvd_id: 未提取 -> CNNVD-202205-3935
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']