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`.
References
Link | 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 |
Configurations
Configuration 1 (hide)
|
History
11 Sep 2023, 18:58
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:* cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:* |
|
References | (MISC) https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 - Mitigation, Vendor Advisory | |
References | (MISC) https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support - Product | |
First Time |
Electronjs electron
Electronjs |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.5 |
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-29198
Mitre link : CVE-2023-29198
CVE.ORG link : CVE-2023-29198
JSON object : View
Products Affected
electronjs
- electron
CWE
CWE-754
Improper Check for Unusual or Exceptional Conditions