中危 google tensorflow os命令中使用的特殊元素转义处理不恰当(os命令注入)
CVE编号
CVE-2021-41228利用情况
暂无补丁情况
官方补丁披露时间
2021-11-06漏洞描述
TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's `saved_model_cli` tool is vulnerable to a code injection as it calls `eval` on user supplied strings. This can be used by attackers to run arbitrary code on the plaform where the CLI tool runs. However, given that the tool is always run manually, the impact of this is not severe. We have patched this by adding a `safe` flag which defaults to `True` and an explicit warning for users. 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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/tensorflow/tensorflow/commit/8b202f08d52e8206af2bdb2112a62... | |
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-3rcw-9p9x-582v |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | tensorflow | * | From (including) 2.4.0 | Up to (excluding) 2.4.4 | |||||
运行在以下环境 | |||||||||
应用 | tensorflow | * | From (including) 2.5.0 | Up to (excluding) 2.5.2 | |||||
运行在以下环境 | |||||||||
应用 | tensorflow | * | From (including) 2.6.0 | Up to (excluding) 2.6.1 | |||||
运行在以下环境 | |||||||||
应用 | tensorflow | 2.7.0 | - |
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-78 | OS命令中使用的特殊元素转义处理不恰当(OS命令注入) |
CWE-94 | 对生成代码的控制不恰当(代码注入) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论