Amenazas en vivo

Todas las CVE / Baidu

CVE-2021-39227Baidu Zrender

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.3%
probabilidad de explotación en 30 días · percentil 70
Requiere autenticación
No
Publicada
17 sep 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Zrender.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm zrender ≥ 5.0.0 < 5.2.1 5.2.1 npm install zrender@5.2.1
npm zrender < 4.3.3 4.3.3 npm install zrender@4.3.3

Según OSV / GitHub Advisories (GHSA-fhv8-fx5f-7fxf). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
baiduzrender< 5.2.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.