Electron
Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, the nodeIntegrationInWorker webPreference was not correctly scoped in all configurations. In certain process-sharing scenarios, workers spawned in frames configured with nodeIntegrationInWorker: false could still receive Node.js integration. Apps are only affected if they enable nodeIntegrationInWorker. Apps that do not use nodeIntegrationInWorker are not affected. This issue has been patched in versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 38.8.6
- >= 39.0.0-alpha.1, < 39.8.4
- >= 40.0.0-alpha.1, < 40.8.4
- >= 41.0.0-alpha.1, < 41.0.0
Fixed in 38.8.6, 39.8.4, 40.8.4, 41.0.0
Mitigation
Upgrade electron to 38.8.6 or 39.8.4 or 40.8.4 or 41.0.0 or later.
References
- Vendor advisory github.com/electron/electron/security/advisori…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.