CVE-2021-39227

CVSS V2 High 7.5 CVSS V3 Critical 9.8
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.
Overview
  • CVE ID
  • CVE-2021-39227
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-09-17T14:15:08
  • Last Modified Date
  • 2022-09-10T02:45:27
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:baidu:zrender:*:*:*:*:*:*:*:* 1 OR 5.2.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://github.com/ecomfe/zrender/security/advisories/GHSA-fhv8-fx5f-7fxf Third Party Advisory
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
History
Created Old Value New Value Data Type Notes
2022-05-10 06:52:55 Added to TrackCVE
2022-12-05 10:50:11 2021-09-17T14:15Z 2021-09-17T14:15:08 CVE Published Date updated
2022-12-05 10:50:11 2022-09-10T02:45:27 CVE Modified Date updated
2022-12-05 10:50:11 Analyzed Vulnerability Status updated