Amenazas en vivo

Todas las CVE / Electronjs

CVE-2023-23623Electronjs Electron

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
0.8%
probabilidad de explotación en 30 días · percentil 55
Requiere autenticación
No
Publicada
6 sep 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-670
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the 22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines. Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by enabling `sandbox: true` on all renderers.

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 Electron.
  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 electron ≥ 22.0.0-beta.1 < 22.0.1 22.0.1 npm install electron@22.0.1
npm electron ≥ 23.0.0-alpha.1 < 23.0.0-alpha.2 23.0.0-alpha.2 npm install electron@23.0.0-alpha.2

Según OSV / GitHub Advisories (GHSA-gxh7-wv9q-fwfr). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron22.0.0
electronjselectron23.0.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.