SCA: security update for zrender (GHSA-fhv8-fx5f-7fxf)

critical Tenable Self-Hosted Container Security Plugin ID 414536

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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)

See Also

https://github.com/advisories/GHSA-fhv8-fx5f-7fxf

Plugin Details

Severity: Critical

ID: 414536

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.48

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-39227

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/20/2021

Vulnerability Publication Date: 9/17/2021

Reference Information

CVE: CVE-2021-39227