Vulnerability Details : CVE-2023-23623
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.
Products affected by CVE-2023-23623
- cpe:2.3:a:electronjs:electron:22.0.0:-:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta1:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta2:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta3:*:*:*: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:beta6:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta7:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta8:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:23.0.0:alpha1:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-23623
0.50%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 63 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-23623
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2023-23623
-
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.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-23623
-
https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr
Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled · Advisory · electron/electron · GitHubMitigation;Vendor Advisory
Jump to