Skip to content

CVE-2020-15096 Context isolation bypass via Promise in Electron

MediumCVSS 6.8 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known

Description

In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there 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. Apps using "contextIsolation" are affected. There are no app-side workarounds, you must update your Electron version to be protected. This is fixed in versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
electronjs electron < 6.1.1; = 9.0.0; = 9.0.0-beta1; = 9.0.0-beta2 +20 more 6.1.1, 7.2.4, 8.2.4 Fixed
npm electron(npm) < 6.1.11; >= 7.0.0, < 7.2.4; >= 8.0.0, < 8.2.4 6.1.11, 7.2.4, 8.2.4 Fixed
electron = < 6.1.1; = >= 7.0.0, < 7.2.4; = >= 8.0.0, < 8.2.4; = >=9.0.0-beta.0, < 9.0.0-beta.21 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm electron(npm) < 6.1.11 6.1.11
npm electron(npm) >= 7.0.0, < 7.2.4 7.2.4
npm electron(npm) >= 8.0.0, < 8.2.4 8.2.4
electronjs electron < 6.1.1 6.1.1
electronjs electron >= 7.0.0, < 7.2.4 7.2.4
electronjs electron >= 8.0.0, < 8.2.4 8.2.4
electronjs electron = 9.0.0 No fix listed
electronjs electron = 9.0.0-beta1 No fix listed
electronjs electron = 9.0.0-beta10 No fix listed
electronjs electron = 9.0.0-beta11 No fix listed
electronjs electron = 9.0.0-beta12 No fix listed
electronjs electron = 9.0.0-beta13 No fix listed
electronjs electron = 9.0.0-beta14 No fix listed
electronjs electron = 9.0.0-beta15 No fix listed
electronjs electron = 9.0.0-beta16 No fix listed
electronjs electron = 9.0.0-beta17 No fix listed
electronjs electron = 9.0.0-beta18 No fix listed
electronjs electron = 9.0.0-beta19 No fix listed
electronjs electron = 9.0.0-beta2 No fix listed
electronjs electron = 9.0.0-beta20 No fix listed
electronjs electron = 9.0.0-beta3 No fix listed
electronjs electron = 9.0.0-beta4 No fix listed
electronjs electron = 9.0.0-beta5 No fix listed
electronjs electron = 9.0.0-beta6 No fix listed
electronjs electron = 9.0.0-beta7 No fix listed
Show 6 more
ProductAffected versionsFixed in
electronjs electron = 9.0.0-beta8 No fix listed
electronjs electron = 9.0.0-beta9 No fix listed
electron = < 6.1.1 No fix listed
electron = >= 7.0.0, < 7.2.4 No fix listed
electron = >= 8.0.0, < 8.2.4 No fix listed
electron = >=9.0.0-beta.0, < 9.0.0-beta.21 No fix listed

References