medium6.2
CVE-2021-39227
Prototype Pollution in the merge and clone helper methods
Impact
### Impact Using `merge` and `clone` helper methods in the `src/core/util.ts` module will have prototype pollution. It will affect the popular data visualization library Apache ECharts, which is using and exported these two methods directly. ### Patches It has been patched in https://github.com/ecomfe/zrender/pull/826. Users should update zrender to `5.2.1`. and update echarts to `5.2.1` if project is using echarts. ### References NA ### For more information NA
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | zrender | >= 5.0.0, < 5.2.1 | 5.2.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Baidu | Zrender | before 5.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-fhv8-fx5f-7fxf
- https://nvd.nist.gov/vuln/detail/CVE-2021-39227