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.
Workarounds
This issue is exploitable under either of two conditions:
If an API exposed to the main world via contextBridge can return an object or array that contains a JS 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.
If an API exposed to the main world via contextBridge has a return value that throws a user-generated exception while being sent over the bridge, for instance a dynamic getter property on an object that throws an error when being computed.
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 and that any objects returned from functions do not have dynamic getters that can throw exceptions.
Auditing your exposed API is likely to be quite difficult so we strongly recommend you update to a patched version of Electron.
Fixed Versions
25.0.0-alpha.2
24.0.1
23.2.3
22.3.6
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Apps that are launched as command line executables are impacted. E.g. if your app exposes itself in the path as myapp --help
Specifically this issue can only be exploited if the following conditions are met:
Your app is launched with an attacker-controlled working directory
The attacker has the ability to write files to that working directory
This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. Please bear this in mind when reporting similar issues in the future.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
26.0.0-beta.13
25.5.0
24.7.1
23.3.13
22.3.19
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Release Notes
electron/electron (electron)
### [`v23.3.13`](https://togithub.com/electron/electron/releases/tag/v23.3.13): electron v23.3.13
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.12...v23.3.13)
### Release Notes for v23.3.13
#### End of Support for 23.x.y
Electron 23.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron.
### [`v23.3.12`](https://togithub.com/electron/electron/releases/tag/v23.3.12): electron v23.3.12
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.11...v23.3.12)
### Release Notes for v23.3.12
#### Other Changes
- Fixed a crash while screen sharing on Wayland with PipeWire. [#39274](https://togithub.com/electron/electron/pull/39274)
- Security: backported fix for CVE-2023-3732.
- Security: backported fix for CVE-2023-3728.
- Security: backported fix for CVE-2023-3730. [#39268](https://togithub.com/electron/electron/pull/39268)
### [`v23.3.11`](https://togithub.com/electron/electron/releases/tag/v23.3.11): electron v23.3.11
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.10...v23.3.11)
### Release Notes for v23.3.11
#### Fixes
- Fixed a crash when listing desktop capture sources on Wayland with PipeWire. [#39116](https://togithub.com/electron/electron/pull/39116) (Also in [24](https://togithub.com/electron/electron/pull/39050), [25](https://togithub.com/electron/electron/pull/39051), [26](https://togithub.com/electron/electron/pull/39049))
### [`v23.3.10`](https://togithub.com/electron/electron/releases/tag/v23.3.10): electron v23.3.10
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.9...v23.3.10)
### Release Notes for v23.3.10
#### Other Changes
- Security: backported fix for CVE-2023-3422.
- Security: backported fix for CVE-2023-3421.
- Security: backported fix for CVE-2023-3420.
- Security: backported fix for [`1454860`](https://togithub.com/electron/electron/commit/1454860). [#38948](https://togithub.com/electron/electron/pull/38948)
### [`v23.3.9`](https://togithub.com/electron/electron/releases/tag/v23.3.9): electron v23.3.9
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.8...v23.3.9)
### Release Notes for v23.3.9
#### Fixes
- Fixed `preload` script may not run in some child windows opened by `window.open`. [#38933](https://togithub.com/electron/electron/pull/38933) (Also in [24](https://togithub.com/electron/electron/pull/38932), [25](https://togithub.com/electron/electron/pull/38931), [26](https://togithub.com/electron/electron/pull/38930))
- Fixed minimize button to be visible when all buttons reenabled. [#38880](https://togithub.com/electron/electron/pull/38880) (Also in [24](https://togithub.com/electron/electron/pull/38881), [25](https://togithub.com/electron/electron/pull/38879))
### [`v23.3.8`](https://togithub.com/electron/electron/releases/tag/v23.3.8): electron v23.3.8
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.7...v23.3.8)
### Release Notes for v23.3.8
#### Other Changes
- Security: backported fix for CVE-2023-3215.
- Security: backported fix for CVE-2023-3216.
- Security: backported fix for [`1450536`](https://togithub.com/electron/electron/commit/1450536). [#38788](https://togithub.com/electron/electron/pull/38788)
### [`v23.3.7`](https://togithub.com/electron/electron/releases/tag/v23.3.7): electron v23.3.7
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.6...v23.3.7)
### Release Notes for v23.3.7
#### Fixes
- Fixed visibility of menu bar when exiting full screen. [#38680](https://togithub.com/electron/electron/pull/38680) (Also in [24](https://togithub.com/electron/electron/pull/38681), [25](https://togithub.com/electron/electron/pull/38682), [26](https://togithub.com/electron/electron/pull/38683))
#### Other Changes
- Security: backported fix for [`1439691`](https://togithub.com/electron/electron/commit/1439691).
- Security: backported fix for CVE-2023-2724.
- Security: backported fix for [`1425115`](https://togithub.com/electron/electron/commit/1425115).
- Security: backported fix for [`1431761`](https://togithub.com/electron/electron/commit/1431761).
- Security: backported fix for CVE-2023-2725.
- Security: backported fix for CVE-2023-2721.
- Security: backported fix for [`1442263`](https://togithub.com/electron/electron/commit/1442263). [#38331](https://togithub.com/electron/electron/pull/38331)
- Security: backported fix for [`1447430`](https://togithub.com/electron/electron/commit/1447430).
- Security: backported fix for CVE-2023-3079. [#38652](https://togithub.com/electron/electron/pull/38652)
- Security: backported fix for CVE-2023-2933.
- Security: backported fix for CVE-2023-2932.
- Security: backported fix for CVE-2023-2931.
- Security: backported fix for [`1444195`](https://togithub.com/electron/electron/commit/1444195).
- Security: backported fix for CVE-2023-2936.
- Security: backported fix for CVE-2023-2935.
- Security: backported fix for CVE-2023-2934
- Security: backported fix for CVE-2023-2930. [#38533](https://togithub.com/electron/electron/pull/38533)
### [`v23.3.6`](https://togithub.com/electron/electron/releases/tag/v23.3.6): electron v23.3.6
[Compare Source](https://togithub.com/electron/electron/compare/v23.3.5...v23.3.6)
### Release Notes for v23.3.6
#### Fixes
- Fixed an issue where `
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
23.2.0
->23.3.13
GitHub Vulnerability Alerts
CVE-2023-29198
Impact
Apps using
contextIsolation
andcontextBridge
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.
Workarounds
This issue is exploitable under either of two conditions:
contextBridge
can return an object or array that contains a JS object which cannot be serialized, for instance, a canvas rendering context. This would normally result in an exception being thrownError: object could not be cloned
.contextBridge
has a return value that throws a user-generated exception while being sent over the bridge, for instance a dynamic getter property on an object that throws an error when being computed.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 and that any objects returned from functions do not have dynamic getters that can throw exceptions.
Auditing your exposed API is likely to be quite difficult so we strongly recommend you update to a patched version of Electron.
Fixed Versions
25.0.0-alpha.2
24.0.1
23.2.3
22.3.6
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
CVE-2023-39956
Impact
Apps that are launched as command line executables are impacted. E.g. if your app exposes itself in the path as
myapp --help
Specifically this issue can only be exploited if the following conditions are met:
This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. Please bear this in mind when reporting similar issues in the future.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
26.0.0-beta.13
25.5.0
24.7.1
23.3.13
22.3.19
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Release Notes
electron/electron (electron)
### [`v23.3.13`](https://togithub.com/electron/electron/releases/tag/v23.3.13): electron v23.3.13 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.12...v23.3.13) ### Release Notes for v23.3.13 #### End of Support for 23.x.y Electron 23.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron. ### [`v23.3.12`](https://togithub.com/electron/electron/releases/tag/v23.3.12): electron v23.3.12 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.11...v23.3.12) ### Release Notes for v23.3.12 #### Other Changes - Fixed a crash while screen sharing on Wayland with PipeWire. [#39274](https://togithub.com/electron/electron/pull/39274) - Security: backported fix for CVE-2023-3732. - Security: backported fix for CVE-2023-3728. - Security: backported fix for CVE-2023-3730. [#39268](https://togithub.com/electron/electron/pull/39268) ### [`v23.3.11`](https://togithub.com/electron/electron/releases/tag/v23.3.11): electron v23.3.11 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.10...v23.3.11) ### Release Notes for v23.3.11 #### Fixes - Fixed a crash when listing desktop capture sources on Wayland with PipeWire. [#39116](https://togithub.com/electron/electron/pull/39116) (Also in [24](https://togithub.com/electron/electron/pull/39050), [25](https://togithub.com/electron/electron/pull/39051), [26](https://togithub.com/electron/electron/pull/39049)) ### [`v23.3.10`](https://togithub.com/electron/electron/releases/tag/v23.3.10): electron v23.3.10 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.9...v23.3.10) ### Release Notes for v23.3.10 #### Other Changes - Security: backported fix for CVE-2023-3422. - Security: backported fix for CVE-2023-3421. - Security: backported fix for CVE-2023-3420. - Security: backported fix for [`1454860`](https://togithub.com/electron/electron/commit/1454860). [#38948](https://togithub.com/electron/electron/pull/38948) ### [`v23.3.9`](https://togithub.com/electron/electron/releases/tag/v23.3.9): electron v23.3.9 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.8...v23.3.9) ### Release Notes for v23.3.9 #### Fixes - Fixed `preload` script may not run in some child windows opened by `window.open`. [#38933](https://togithub.com/electron/electron/pull/38933) (Also in [24](https://togithub.com/electron/electron/pull/38932), [25](https://togithub.com/electron/electron/pull/38931), [26](https://togithub.com/electron/electron/pull/38930)) - Fixed minimize button to be visible when all buttons reenabled. [#38880](https://togithub.com/electron/electron/pull/38880) (Also in [24](https://togithub.com/electron/electron/pull/38881), [25](https://togithub.com/electron/electron/pull/38879)) ### [`v23.3.8`](https://togithub.com/electron/electron/releases/tag/v23.3.8): electron v23.3.8 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.7...v23.3.8) ### Release Notes for v23.3.8 #### Other Changes - Security: backported fix for CVE-2023-3215. - Security: backported fix for CVE-2023-3216. - Security: backported fix for [`1450536`](https://togithub.com/electron/electron/commit/1450536). [#38788](https://togithub.com/electron/electron/pull/38788) ### [`v23.3.7`](https://togithub.com/electron/electron/releases/tag/v23.3.7): electron v23.3.7 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.6...v23.3.7) ### Release Notes for v23.3.7 #### Fixes - Fixed visibility of menu bar when exiting full screen. [#38680](https://togithub.com/electron/electron/pull/38680) (Also in [24](https://togithub.com/electron/electron/pull/38681), [25](https://togithub.com/electron/electron/pull/38682), [26](https://togithub.com/electron/electron/pull/38683)) #### Other Changes - Security: backported fix for [`1439691`](https://togithub.com/electron/electron/commit/1439691). - Security: backported fix for CVE-2023-2724. - Security: backported fix for [`1425115`](https://togithub.com/electron/electron/commit/1425115). - Security: backported fix for [`1431761`](https://togithub.com/electron/electron/commit/1431761). - Security: backported fix for CVE-2023-2725. - Security: backported fix for CVE-2023-2721. - Security: backported fix for [`1442263`](https://togithub.com/electron/electron/commit/1442263). [#38331](https://togithub.com/electron/electron/pull/38331) - Security: backported fix for [`1447430`](https://togithub.com/electron/electron/commit/1447430). - Security: backported fix for CVE-2023-3079. [#38652](https://togithub.com/electron/electron/pull/38652) - Security: backported fix for CVE-2023-2933. - Security: backported fix for CVE-2023-2932. - Security: backported fix for CVE-2023-2931. - Security: backported fix for [`1444195`](https://togithub.com/electron/electron/commit/1444195). - Security: backported fix for CVE-2023-2936. - Security: backported fix for CVE-2023-2935. - Security: backported fix for CVE-2023-2934 - Security: backported fix for CVE-2023-2930. [#38533](https://togithub.com/electron/electron/pull/38533) ### [`v23.3.6`](https://togithub.com/electron/electron/releases/tag/v23.3.6): electron v23.3.6 [Compare Source](https://togithub.com/electron/electron/compare/v23.3.5...v23.3.6) ### Release Notes for v23.3.6 #### Fixes - Fixed an issue where `Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.