AuHau / tasegir

tAsEgir - Automated TypeScript project management
https://github.com/AuHau/tasegir
MIT License
4 stars 3 forks source link

chore(deps): [security] bump electron from 6.1.12 to 10.1.5 #116

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps electron from 6.1.12 to 10.1.5. 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: < 7.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: < 7.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: < 7.2.4

Release notes

Sourced from electron's releases.

electron v10.1.5

Release Notes for v10.1.5

Fixes

  • Fixed a crash in printing on Windows. #26064 (Also in 9, 10)
  • Fixed an issue where Wasm code generation erroneously showed as being disallowed by embedder when contextIsolation was enabled. #26063 (Also in 10)
  • Fixed an issue where frameless windows showed window controls after being in simple fullscreen mode on macOS. #26126 (Also in 9, 10)
  • Fixed memory leak on macOS when using dialog.showMessageBox API. #26097 (Also in 8, 9, 10, 11)

Other Changes

  • Backported fix for CVE-2020-15999. #26070

electron v10.1.4

Release Notes for v10.1.4

Fixes

  • Browser views will properly resize within windows. #26033 (Also in 9, 10, 11)
  • Excess menu item separators are now only removed after item re-ordering is done to avoid accidental removal of needed separators. #25931 (Also in 10, 11)
  • Fix: gdi printing in silent printing mode. #25740 (Also in 9, 10, 11)
  • Fixed NativeImage.crop().toBitmap() returning incorrect data. #25773 (Also in 10, 11)
  • Fixed NativeImage.getScaleFactors() always returning the same value. #25905 (Also in 9, 10, 11)
  • Fixed session argument of app 'session-created' event. #25798
  • Fixed an issue where Windows notifications with timeoutType of 'never' did not work properly. #25926 (Also in 9, 10, 11)
  • Fixed an issue where Save as PDF from PDF Viewer Print dialog failed and sometimes crashed. #26013 (Also in 10)
  • Fixed an issue where some Node.js module API calls hung in the renderer process after reloads when render process reuse was enabled. #25923 (Also in 9, 10, 11)
  • Fixed bug that meant require.resolve paths option was ignored. #25944 (Also in 9, 10, 11)
  • Fixed crash when application launched from UNUserNotificationCenter notification (via a native node module). #25737 (Also in 9, 10, 11)
  • Fixed maximized frameless window bleeding to other monitors. #25977 (Also in 8, 9, 10, 11)
  • Fixed memory leak when creating "Services" menu. #25687 (Also in 9, 10, 11)
  • Fixed ready-to-show event not emitted on some machines. #25932 (Also in 10, 11)
  • Suppressed a spurious warning about executeJavaScript being called without worldSafeExecuteJavaScript being enabled in apps that do not call executeJavaScript. #25827 (Also in 10, 11)

Other Changes

  • Backported the fix to CVE-2020-15968: Use after free in Blink. #25852
  • Backported the fix to CVE-2020-15969: Use after free in WebRTC. #25853
  • Backported the fix to a heap-use-after-free in content::WebContentsImpl::SetNotWaitingForResponse. #25893
  • Fixed an issue where netLog.startLogging and netLog.stopLogging were undefined. #25670 (Also in 10)
  • Security: backported fix for 1125635, 1115901. #25856

electron v10.1.3

Release Notes for v10.1.3

Fixes

  • Fixed CORS not being disabled by webSecurity: false. #25503 (Also in 9, 10, 11)
  • Fixed ready-to-show event not emitted on some machines. #25476 (Also in 9, 10, 11)
  • Fixed a crash in app.importCertificate() on Linux. #25536 (Also in 9, 10, 11)
  • Fixed a crash when closing window in an event listener after exiting fullscreen on macOS. #25604 (Also in 10, 11)
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](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)
dependabot-preview[bot] commented 3 years ago

Superseded by #120.