CVE-2021-39227
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 68% of all known CVEs.
References
Related Vulnerabilities
Other CWE-1321 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-0230 | Critical | 9.8 | 97% | - | - |
| CVE-2019-11358 | Medium | 6.1 | 87% | - | Fix |
| CVE-2020-7774 | High | 7.3 | 69% | - | Fix |
| CVE-2022-24760 | Critical | 10.0 | 49% | - | Fix |
| CVE-2022-39396 | Critical | 9.8 | 39% | - | Fix |
| CVE-2022-2564 | Critical | 9.8 | 33% | - | Fix |
Embed a live status badge for CVE-2021-39227
Markdown
[](https://tridentstack.com/cve/CVE-2021-39227)HTML
<a href="https://tridentstack.com/cve/CVE-2021-39227"><img src="https://tridentstack.com/cve/badge/CVE-2021-39227.svg" alt="CVE-2021-39227"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.