CVE-2021-41213 (CNNVD-202111-551)
中文标题:
Google TensorFlow 资源管理错误漏洞
英文标题:
Deadlock in mutually recursive `tf.function` objects
漏洞描述
中文描述:
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 存在资源管理错误漏洞,该漏洞源于当两个 tf.function 修饰的 Python 函数相互递归时,`tf.function` API 背后的代码可能会陷入死锁。
英文描述:
TensorFlow is an open source platform for machine learning. In affected versions the code behind `tf.function` API can be made to deadlock when two `tf.function` decorated Python functions are mutually recursive. This occurs due to using a non-reentrant `Lock` Python object. Loading any model which contains mutually recursive functions is vulnerable. An attacker can cause denial of service by causing users to load such models and calling a recursive `tf.function`, although this is not a frequent scenario. 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:*:*:*:*:*:*:*:*
|
|
| tensorflow | 2.7.0 | - | - |
cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
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-41213 |
2025-11-11 15:21:06 | 2025-11-11 07:37:02 |
| NVD | nvd_CVE-2021-41213 |
2025-11-11 14:57:44 | 2025-11-11 07:45:21 |
| CNNVD | cnnvd_CNNVD-202111-551 |
2025-11-11 15:10:45 | 2025-11-11 07:57:01 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 资源管理错误
- cnnvd_id: 未提取 -> CNNVD-202111-551
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 3 -> 5
- data_sources: ['cve'] -> ['cve', 'nvd']