Electron
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, an Electron <webview> guest could enable nodeIntegrationInWorker for its Web Workers even when the unsandboxed embedder had Node.js integration disabled, allowing untrusted guest content to create a Node-enabled worker with more privilege than the embedder granted. Applications that do not enable the <webview> tag or that keep the embedder sandboxed are not affected. This issue is fixed in versions 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 41.10.6
- >= 42.0.0-alpha.1, < 42.9.2
- >= 43.0.0-alpha.1, < 43.4.1
- >= 44.0.0-alpha.1, < 44.0.0-beta.5
Fixed in 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5
Mitigation
Upgrade electron to 41.10.6 or 42.9.2 or 43.4.1 or 44.0.0-beta.5 or later.
References
- Vendor advisory github.com/electron/electron/security/advisori…
- Patch github.com/electron/electron/commit/6462a2e1dc…
- Patch github.com/electron/electron/commit/9a675aef88…
5 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.