中危 baidu zrender 动态确定对象属性修改的控制不恰当
CVE编号
CVE-2021-39227利用情况
暂无补丁情况
官方补丁披露时间
2021-09-17漏洞描述
ZRender is a lightweight graphic library providing 2d draw for Apache ECharts. In versions prior to 5.2.1, using `merge` and `clone` helper methods in the `src/core/util.ts` module results in prototype pollution. It affects the popular data visualization library Apache ECharts, which uses and exports these two methods directly. The GitHub Security Advisory page for this vulnerability contains a proof of concept. This issue is patched in ZRender version 5.2.1. One workaround is available: Check if there is `__proto__` in the object keys. Omit it before using it as an parameter in these affected methods. Or in `echarts.util.merge` and `setOption` if project is using ECharts.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/ecomfe/zrender/pull/826 | |
https://github.com/ecomfe/zrender/releases/tag/5.2.1 | |
https://github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | baidu | zrender | * | Up to (excluding) 5.2.1 |
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') |
CWE-915 | 动态确定对象属性修改的控制不恰当 |
Exp相关链接

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