1. Archivio CVE
  2. 2023
  3. CVE-2023-23623

CVE-2023-23623

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
electronjs electron 22.0.0 node.js
electronjs electron 22.0.0 beta1 node.js
electronjs electron 22.0.0 beta2 node.js
electronjs electron 22.0.0 beta3 node.js
electronjs electron 22.0.0 beta4 node.js
electronjs electron 22.0.0 beta5 node.js
electronjs electron 22.0.0 beta6 node.js
electronjs electron 22.0.0 beta7 node.js
electronjs electron 22.0.0 beta8 node.js
electronjs electron 23.0.0 alpha1 node.js
Tutte le 59 vulnerabilità di Electronjs Electron

Tipo di vulnerabilità

CWE-670 Always-Incorrect Control Flow Implementation

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

Impatto sui sistemi

AmbitoImpatto
Altro Altro, Alterare la logica di esecuzione

Tutte le 157 CVE di tipo CWE-670, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org