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 |
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
21 Nov 2024, 07:56
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 - Mitigation, Vendor Advisory | |
References | () https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support - Product | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.0 |
11 Sep 2023, 18:58
Type | Values Removed | Values Added |
---|---|---|
First Time |
Electronjs electron
Electronjs |
|
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:*:* |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.5 |
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 |
06 Sep 2023, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-06 21:15
Updated : 2024-11-21 07:56
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