9.8
CRITICAL
CVE-2023-23623
Electron Eval Sandbox Disable Vulnerability
Description

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.

INFO

Published Date :

Sept. 6, 2023, 9:15 p.m.

Last Modified :

Sept. 11, 2023, 7:02 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-23623 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Electronjs electron
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-23623.

URL Resource
https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-23623 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-23623 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 11, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr Mitigation, Vendor Advisory
    Added CPE Configuration OR *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:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-23623 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-23623 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} 0.00%

score

0.54433

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability