CVE-2023-29198
Electron Context Isolation Bypass Vulnerability
Description
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps using `contextIsolation` and `contextBridge` are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. This issue is only exploitable if an API exposed to the main world via `contextBridge` can return an object or array that contains a javascript object which cannot be serialized, for instance, a canvas rendering context. This would normally result in an exception being thrown `Error: object could not be cloned`. The app side workaround is to ensure that such a case is not possible. Ensure all values returned from a function exposed over the context bridge are supported. This issue has been fixed in versions `25.0.0-alpha.2`, `24.0.1`, `23.2.3`, and `22.3.6`.
INFO
Published Date :
Sept. 6, 2023, 9:15 p.m.
Last Modified :
Sept. 11, 2023, 6:58 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
1.8
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-29198
.
URL | Resource |
---|---|
https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 | Mitigation Vendor Advisory |
https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support | Product |
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-29198
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-29198
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:H/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 Mitigation, Vendor Advisory Changed Reference Type https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support No Types Assigned https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support Product Added CWE NIST CWE-754 Added CPE Configuration OR *cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* versions up to (excluding) 22.3.6 *cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* versions from (including) 23.0.0 up to (excluding) 23.2.3 *cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:* *cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:*
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-29198
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-29198
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.03%
score
0.38698
percentile