CVE-2021-39227

Published on: 09/17/2021 12:00:00 AM UTC

Last Modified on: 09/29/2021 07:38:00 PM UTC

CVE-2021-39227 - advisory for GHSA-fhv8-fx5f-7fxf

Source: Mitre Source: Nist Print: PDF PDF
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Certain versions of Zrender from Baidu contain the following vulnerability:

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.

  • CVE-2021-39227 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as CRITICAL severity.
  • Affected Vendor/Software: URL Logo ecomfe - zrender version < 5.2.1

CVSS3 Score: 9.8 - CRITICAL

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVSS2 Score: 7.5 - HIGH

Access
Vector
Access
Complexity
Authentication
NETWORK LOW NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL PARTIAL PARTIAL

CVE References

Description Tags Link
fix prototype pollution in merge, clone, extend utilities by pissang · Pull Request #826 · ecomfe/zrender · GitHub github.com
text/html
URL Logo MISC github.com/ecomfe/zrender/pull/826
Prototype Pollution in zrender · Advisory · ecomfe/zrender · GitHub github.com
text/html
URL Logo CONFIRM github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf
Release 5.2.1 · ecomfe/zrender · GitHub github.com
text/html
URL Logo MISC github.com/ecomfe/zrender/releases/tag/5.2.1

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationBaiduZrenderAllAllAllAll
  • cpe:2.3:a:baidu:zrender:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2021-39227 : ZRender is a lightweight graphic library providing 2d draw for #Apache ECharts. In versions prior… twitter.com/i/web/status/1… 2021-09-17 14:12:59
Twitter Icon @threatmeter CVE-2021-39227 ZRender is a lightweight graphic library providing 2d draw for Apache ECharts. In versions prior to… twitter.com/i/web/status/1… 2021-09-18 07:09:42
© CVE.report 2021 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report