Advisory

GHSA-fhv8-fx5f-7fxf

Also known as: CVE-2021-39227

Summary

Prototype Pollution in the merge and clone helper methods

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-09-20 19:53 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

zrender

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.2.1 (semver)

Fixed versions

5.2.1

Fix

zrender

npm · All systems

Affected

  • introduced 0, fixed 4.3.3 (semver)

Fixed versions

4.3.3

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences