Context isolation bypass via contextBridge in Electron
Impact
Apps using both 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
There are no app-side workarounds, you must update your Electron version to be protected.
Fixed Versions
9.0.0-beta.21
8.2.4
7.2.4
For more information
If you have any questions or comments about this advisory:
Context isolation bypass via leaked cross-context objects in Electron
Impact
Apps using contextIsolation 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
There are no app-side workarounds, you must update your Electron version to be protected.
Fixed Versions
9.0.0-beta.21
8.2.4
7.2.4
Non-Impacted Versions
9.0.0-beta.*
For more information
If you have any questions or comments about this advisory:
Fixed protocol methods not being accessible via remote.protocol. #27044 (Also in 12)
Fixed readdir/readdirSync (w/ withFileTypes) failing on a deep directory within archive. #27010 (Also in 12)
Fixed a memory leak in desktopCapturer.getSources. #27056 (Also in 10, 12)
Fixed an issue where SIGINT was improperly handled in Node.js processes. #26972 (Also in 10, 12)
Fixed an issue where renderer process stack traces were broken with contextIsolation enabled. #26997 (Also in 12)
Fixed an issue where some async_hooks were not properly emitted after an error in the renderer process. #26991 (Also in 12)
Fixed an issue whereby remote.screenEventEmitter methods are undefined in the renderer. #26989 (Also in 12)
electron v11.1.0
Release Notes for v11.1.0
Fixes
Added Electron DLLs like libGLESv2.dll to symbol server. #26965 (Also in 9, 10, 12)
Fixed an issue that a message box in GTK contains no buttons. #26916 (Also in 10, 12)
Fixed an issue where event.reply could sometimes not deliver a reply to an IPC message when cross-site iframes were present. #26926 (Also in 9, 10, 12)
Fixed an occasional crash on Windows related to NativeViewHost::SetParentAccessible. #26951 (Also in 9, 10, 12)
electron v11.0.5
Release Notes for v11.0.5
Fixes
Fixed "screen" methods to be reassignable again. #26873 (Also in 12)
Fixed systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance(). #26878 (Also in 9, 10, 12)
Fixed callbacks passed via the remote module not being released after all references are dropped. #26836 (Also in 12)
Fixed uncaught promise rejection when creating webContents with javascript disabled. #26870 (Also in 10, 12)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps electron from 6.1.12 to 11.1.1. This update includes security fixes.
Vulnerabilities fixed
Sourced from The GitHub Security Advisory Database.
Sourced from The GitHub Security Advisory Database.
Sourced from The GitHub Security Advisory Database.
Release notes
Sourced from electron's releases.
Commits
dcd2169
Bump v11.1.1e012f61
refactor: remove last use of InternalCallbackScope (#27050)50e3a2a
docs: update OSR max FPS number (#26805) (#27059)b4413e9
fix: memory leak in desktopCapturer.getSources (#27056)25df0f5
fix: throw when using globalShortcut before ready (#27021)6b91371
fix: make protocol wrapper remote-friendly again (#27044)8e6d332
fix: crash on exit in Event destructor (#27035)eebd7cf
refactor: use public node::CallbackScope where possible (#27027)a4d73be
fix: stack traces in non-Node.js contexts (#26997)0e9214a
fix(asar): readdir(withFileTypes) fails on deep directory when using readdirS...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)