Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

build(deps-dev): [Security] Bump electron from 8.0.1 to 8.5.2 #46

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps electron from 8.0.1 to 8.5.2. This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Arbitrary file read via window-open IPC in Electron

Impact

The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.

Workarounds

Ensure you are calling event.preventDefault() on all new-window events where the url or options is not something you expect.

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:

Affected versions: >= 8.0.0 < 8.2.4

Sourced from The GitHub Security Advisory Database.

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:

Affected versions: >= 8.0.0 < 8.2.4

Sourced from The GitHub Security Advisory Database.

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:

Affected versions: >= 8.0.0 < 8.2.4

Sourced from The GitHub Security Advisory Database.

Context isolation bypass via Promise 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
  • 6.1.11

For more information

If you have any questions or comments about this advisory:

Affected versions: >= 8.0.0 < 8.2.4

Sourced from The GitHub Security Advisory Database.

Unpreventable top-level navigation

Impact

The will-navigate event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top-frame navigation across sites.

Patches

  • 11.0.0-beta.1
  • 10.0.1
  • 9.3.0
  • 8.5.1

Workarounds

Sandbox all your iframes using the sandbox attribute. This will prevent them creating top-frame navigations and is good practice anyway.

For more information

If you have any questions or comments about this advisory:

Affected versions: >= 8.0.0-beta.0 < 8.5.1

Sourced from The GitHub Security Advisory Database.

Context isolation bypass in Electron

Impact

Apps using both contextIsolation and sandbox: true are affected. Apps using both contextIsolation and nativeWindowOpen: true 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

  • 11.0.0-beta.6
  • 10.1.2
  • 9.3.1
  • 8.5.2

For more information

If you have any questions or comments about this advisory:

Affected versions: >= 8.0.0-beta.0 < 8.5.2

Release notes

Sourced from electron's releases.

electron v8.5.2

Release Notes for v8.5.2

Fixes

  • Fixed multiple dock icons being left in system when calling dock.show/hide on macOS. #25302 (Also in 8, 9, 10, 11)

Other Changes

  • Security: backported fix for 1098860. #25290
  • Security: backported fix for 1111737. #25394

electron v8.5.1

Release Notes for v8.5.1

Fixes

    • Fixes the following issues for frameless when maximized on Windows:
  • fix unreachable task bar when auto hidden with position top
  • fix 1px extending to secondary monitor
  • fix 1px overflowing into taskbar at certain resolutions
  • fix white line on top of window under 4k resolutions. #25219
  • Fixed powerMonitor not emitting suspend/resume events on some Windows machines. #25163
  • Fixed an issue where notifications with a reply button could potentially be destroyed too early when a user clicked on the notification body before replying. #25102
  • Fixed an issue where some Node.js methods would not work with URL instances constructed in the renderer process. #24861
  • Fixed frameless window's size being changed when restored from minimized state. #25057
  • Fixed inactive windows having active titlebar on Windows. #24875
  • Fixed network permission error when there are multiple WebContents sharing same session are created with web security disabled. #25181
  • Fixed node's TLS stack not allowing renegotiation. #25042
  • Fixed window size being changed after unmaximizing. #25148

Other Changes

  • Backported the fix to CVE-2020-6532: Use after free in SCTP. #24886
  • Security: Backported fix for CVE-2020-6541. #25025
  • Security: backported fix for 1095584. #25227
  • Security: backported fix for 1103827. #25244
  • Security: backported fix for 1104046. #25243
  • Security: backported fix for 1105202. #25262
  • Security: backported fix for 1105426. #25241
  • Security: backported fix for 1106682,1109467. #25239
  • Security: backported fix for 1107433. #25235
  • Security: backported fix for 1107815. #25232
  • Security: backported fix for 1115345. #25266

electron v8.5.0

Release Notes for v8.5.0

Fixes

  • Fixed an issue where suspend/resume were emitted twice on macOS. #24844
Commits

Dependabot compatibility score

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:

  • 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](https://github.com/electron/electron) from 8.0.1 to 8.5.2. **This update includes security fixes.**
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md)
- [Commits](electron/electron@v8.0.1...v8.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Oct 7, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #55.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/electron-8.5.2 branch January 28, 2021 19:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants