9.8
CRITICAL
CVE-2021-39227
Apache ECharts ZRender Prototype Pollution
Description

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.

INFO

Published Date :

Sept. 17, 2021, 2:15 p.m.

Last Modified :

Sept. 10, 2022, 2:45 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-39227 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Baidu zrender
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-39227.

URL Resource
https://github.com/ecomfe/zrender/pull/826 Patch Third Party Advisory
https://github.com/ecomfe/zrender/releases/tag/5.2.1 Release Notes Third Party Advisory
https://github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-39227 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-39227 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Sep. 10, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-915
    Added CWE NIST CWE-1321
  • CVE Modified by [email protected]

    May. 12, 2022

    Action Type Old Value New Value
    Added CWE GitHub, Inc. CWE-1321
  • Initial Analysis by [email protected]

    Sep. 29, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/ecomfe/zrender/pull/826 No Types Assigned https://github.com/ecomfe/zrender/pull/826 Patch, Third Party Advisory
    Changed Reference Type https://github.com/ecomfe/zrender/releases/tag/5.2.1 No Types Assigned https://github.com/ecomfe/zrender/releases/tag/5.2.1 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf No Types Assigned https://github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf Third Party Advisory
    Added CWE NIST CWE-915
    Added CPE Configuration OR *cpe:2.3:a:baidu:zrender:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-39227 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.02%

score

0.64527

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability