zrender
Affected
- introduced
5.0.0, fixed5.2.1(semver)
Fixed versions
5.2.1
Fix
- Fixed version
5.2.1npm install [email protected]
Advisory
Also known as: CVE-2021-39227
Prototype Pollution in the merge and clone helper methods
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
Medium Basis: The source's own band: MODERATE
5.0.0, fixed 5.2.1 (semver)5.2.1
5.2.1npm install [email protected]0, fixed 4.3.3 (semver)4.3.3
4.3.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0