Update dependency electron to v9 [SECURITY] #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.7
->9.4.0
GitHub Vulnerability Alerts
CVE-2018-15685
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.
More information to determine if you are impacted can be found on the electron blog.
Recommendation
Upgrade Electron to >=3.0.0-beta.7, >=2.0.8, >=1.8.8, or >=1.7.16."
CVE-2020-4077
Impact
Apps using both
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
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:
CVE-2020-4076
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:
CVE-2020-4075
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 allnew-window
events where theurl
oroptions
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:
CVE-2020-15096
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:
CVE-2020-26272
Impact
IPC messages sent from the main process to a subframe in the renderer process, through
webContents.sendToFrame
,event.reply
or when using theremote
module, can in some cases be delivered to the wrong frame.If your app does ANY of the following, then it is impacted by this issue:
remote
webContents.sendToFrame
event.reply
in an IPC message handlerPatches
This has been fixed in the following versions:
Workarounds
There are no workarounds for this issue.
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org.
Release Notes
electron/electron
v9.4.0
Compare Source
Release Notes for v9.4.0
Fixes
systemPreferences.effectiveAppearance
returningsystemPreferences.getAppLevelAppearance()
. #26881 (Also in 10, 11, 12)event.reply
could sometimes not deliver a reply to an IPC message when cross-site iframes were present. #26928 (Also in 10, 11, 12)async_hooks
stack would crash the renderer when throwing some errors in the renderer process. #26748 (Also in 10, 11)Other Changes
1150649
. #268971137603
. #268931141350
. #26895v9.3.5
Compare Source
Release Notes for v9.3.5
Fixes
<webview>
render-process-gone
event dispatch. #26576LC_ALL
environment variable getting changed in Electron. #26508 (Also in 10, 11)Other Changes
getSystemVersion()
on Big Sur. #264301143772
. #264001144489
. #263971133527
. #264121137608
. #264091139398
. #26406Unknown
v9.3.4
Compare Source
Release Notes for v9.3.4
Fixes
BrowserViews
. #26261 (Also in 10, 11)BrowserWindow
was resized. #26322 (Also in 10, 11)app.commandLine.appendSwitch('lang')
not changing app's locale. #26242 (Also in 10, 11)Other Changes
takeHeapSnapshot()
. #262281100470
,1125337
. #262101128657
. #261971133983
. #262041135018
. #261941135857
. #261911117258
. #262001132111
. #262071137630
. #26213v9.3.3
Compare Source
Release Notes for v9.3.3
Fixes
Save as PDF
from PDF Viewer Print dialog failed and sometimes crashed. #26067 (Also in 10, 11)dialog.showMessageBox
API. #26098 (Also in 8, 10, 11)Other Changes
1111149
. #256381113558
. #258591121414
. #259111121836
. #256411125635
,1115901
. #258571126249
. #25645v9.3.2
Compare Source
Release Notes for v9.3.2
Fixes
webSecurity: false
. #25505 (Also in 9, 10, 11)ready-to-show
event not emitted on some machines. #25490 (Also in 9, 10, 11)app.importCertificate()
on Linux. #25538 (Also in 9, 10, 11)webContents.print()
if no default was set and no device name provided. #25607 (Also in 9, 10, 11)UNUserNotificationCenter
notification (via a native node module). #25739 (Also in 9, 10, 11)Other Changes
1100136
. #256581106612
. #256561114636
. #25643Unknown
v9.3.1
Compare Source
Release Notes for v9.3.1
Fixes
Other Changes
1081874
. #253891098860
. #252891111737
. #253911122684
. #25390Unknown
chrome.management
APIs. #25344 (Also in 9, 10, 11)v9.3.0
Compare Source
Release Notes for v9.3.0
Features
visibleOnFullScreen
option forsetVisibleOnAllWorkspaces
. #25126currencyCode
field that Apple's StoreKit in-app-purchasing library provides but has not been added to theProduct
object thatinAppPurchase.getProducts
returns. #25085Fixes
powerMonitor
not emittingsuspend
/resume
events on some Windows machines. #25165Unknown
WebSQLDatabase
in extension background pages. #25070v9.2.1
Compare Source
Release Notes for v9.2.1
Fixes
guid
parameter in Linux crash reports. #24898Other Changes
1113227
). #24997Unknown
v9.2.0
Compare Source
Release Notes for v9.2.0
Features
worldSafeExecuteJavaScript
webPreference to ensure that the return values fromwebFrame.executeJavaScript
are world safe when context isolation is enabled. #24712 (Also in 10)Fixes
hookWindowMessage
on Windows. #24769 (Also in 10)v9.1.2
Compare Source
Release Notes for v9.1.2
Fixes
Other Changes
v9.1.1
Compare Source
Release Notes for v9.1.1
Fixes
webContents.print()
would sometimes hang with invalid settings. #24508--cpu-prof
,--heap-prof
, and related CLI flags. #24541--trace-sync-io
flag in Node.js. #24648Other Changes
1084820
). #245661073409
). #24625debugger.sendCommand
. (Chromium security issue1016278
). #246201090543
). #245691065122
). #245571042986
). #246241080481
). #245861074340
). #246211081722
). #24582<script>
in the CSP reports and stacktraces of errors (Chromium security issue1074317
). #245601087629
). #245541065731
). #245941076703
). #24563Documentation
v9.1.0
Compare Source
Release Notes for v9.1.0
Features
MessagePort
in the main process. #24323systemPreferences.getMediaAccessStatus()
on Windows. #24312Fixes
v9.0.5
Compare Source
Release Notes for v9.0.5
Fixes
dialog.showCertificateTrustDialog
with noBrowserWindow
. #24121shutdown
would be emitted both on app and system shutdown on macOS. #24141withFileTypes
was not supported as an option tofs.readdir
orfs.readdirSync
under asar. #24108Other Changes
Documentation
v9.0.4
Compare Source
Release Notes for v9.0.4
Fixes
isComposing
KeyboardEvent property. #23996chrome://media-internals
andchrome://webrtc-internals
pages not loading. #24058ipcRenderer
module after blink had released the context. Instead, a JS exception will be thrown. #23978rmdir
andrmdirSync
work withoriginal-fs
in an asar context. #23956session
in webContents of type remote. #24065Other Changes
v9.0.3
Compare Source
Release Notes for v9.0.3
Features
Fixes
--disable-color-correct-rendering
. #23900acceptLanguages
argument being ignored insession.setUserAgent()
. #23962Other Changes
v9.0.2
Compare Source
Release Notes for v9.0.2
Fixes
v9.0.1
Compare Source
Release Notes for v9.0.1
Features
Fixes
process.windowsStore
returning undefined in AppX packages. #23801nativeImage
s might throw conversion errors in the renderer process. #23796window.location
properties would throw an error for windows opened withwindow.open
. #23805globalShortcut
registration. #23824Other Changes
moveItemToTrash
failures on macOS. #23628v9.0.0
Compare Source
Release Notes for 9.0.0
Stack Upgrades
8.3
Breaking Changes
app.allowRendererProcessReuse
totrue
. This will prevent loading of non-context-aware native modules in renderer processes. (See #18397 for more information on this change.) #22401Features
fullScreen
property support forBrowserWindow
s. #23330session.listWordsInSpellCheckerDictionary
API to list custom words in the dictionary. #22128session.removeWordFromSpellCheckerDictionary
API to remove custom words in the dictionary. #22368session.serviceWorkerContext
API to access basic service worker info and receive console logs from service workers. #22313force
parameter toapp.focus()
on macOS to allow apps to forcefully take focus. #23447BrowserWindow
. #23208Fixes
webRequest
module not working withfile://
protocol. #22919webRequest
not working for CORS requests. #22468win.setMenuBarVisibility(false)
not hiding menu bar. #23263session.fromPartition
inside the ready event. #23472crashReporter
is now explicitly initialized only in the main process, and implicitly initialized in other child processes. This fixes an issue preventing the crash reporter from functioning in sandboxed renderers on Linux. #23461Performance
v8.5.5
Compare Source
Release Notes for v8.5.5
Fixes
<webview>
render-process-gone
event dispatch. #26575Unknown
v8.5.4
Compare Source
Release Notes for v8.5.4
Other Changes
1143772
. #264011144489
. #263981133527
. #264131137608
. #264101139398
. #26407v8.5.3
Compare Source
Release Notes for v8.5.3
Fixes
ready-to-show
event not emitted on some machines. #26140 (Also in 8, 10, 11)Renovate configuration
📅 Schedule: "" (UTC).
🚦 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 WhiteSource Renovate. View repository job log here.