ADVISORIES

GitHub Advisory Database

GHSA-fhv8-fx5f-7fxf

Prototype Pollution in the merge and clone helper methods

Moderate CVE-2021-39227

Details

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

EcosystemPackageAffected versions
npmzrender
From 5.0.0 before 5.2.1 (fixed in 5.2.1)
npmzrender
All versions before 4.3.3 (fixed in 4.3.3)

References