Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.1%
exploitation probability
0.1%top 100% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
electron · electronReferences
https://github.com/electron/electron/commit/000453e399bd1dee5e86376cdd9ece5fc071e601https://github.com/electron/electron/commit/25ba8be57c65a83d8c14ebb8aa37693df17a04f3https://github.com/electron/electron/commit/c38d6fd68756f04647ea857bdb6a2abec332e217https://github.com/electron/electron/pull/52480https://github.com/electron/electron/releases/tag/v42.10.0https://github.com/electron/electron/releases/tag/v43.5.0https://github.com/electron/electron/releases/tag/v44.0.0-beta.6https://github.com/electron/electron/security/advisories/GHSA-qmv3-fv6v-rmhq