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.
References
Link | Resource |
---|---|
https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
11 Sep 2023, 19:02
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:electronjs:electron:22.0.0:beta6:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:23.0.0:alpha1:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta1:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta3:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta2:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:-:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta8:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta4:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta5:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:22.0.0:beta7:*:*:*:node.js:*:* |
|
References | (MISC) https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr - Mitigation, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
First Time |
Electronjs electron
Electronjs |
06 Sep 2023, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-06 21:15
Updated : 2024-02-28 20:33
NVD link : CVE-2023-23623
Mitre link : CVE-2023-23623
CVE.ORG link : CVE-2023-23623
JSON object : View
Products Affected
electronjs
- electron
CWE
CWE-670
Always-Incorrect Control Flow Implementation