Electron
Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.3 until 42.10.0, 43.5.0, and 44.0.0-beta.6, Electron's sandboxed preload code cache did not verify that a cached entry matched the preload it was served for. A compromised renderer could write attacker-controlled cache data and cause Electron to reuse it for a later load, executing the renderer's code in the more privileged preload context. The issue affects applications that load untrusted content. This issue is fixed in versions 42.10.0, 43.5.0, and 44.0.0-beta.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 42.3.3, < 42.10.0
- >= 43.0.0-beta.1, < 43.5.0
- >= 44.0.0-alpha.1, < 44.0.0-beta.6
Fixed in 42.10.0, 43.5.0, 44.0.0-beta.6
Mitigation
Upgrade electron to 42.10.0 or 43.5.0 or 44.0.0-beta.6 or later.
References
- Vendor advisory github.com/electron/electron/security/advisori…
- Patch github.com/electron/electron/pull/52480
- Patch github.com/electron/electron/commit/000453e399…
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.