CVE-2023-44402 – ASAR Integrity bypass via filetype confusion in electron
https://notcve.org/view.php?id=CVE-2023-44402
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. This only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses enabled. Apps without these fuses enabled are not impacted. This issue is specific to macOS as these fuses are only currently supported on macOS. Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. • https://github.com/electron/electron/pull/39788 https://github.com/electron/electron/security/advisories/GHSA-7m48-wc93-9g85 https://www.electronjs.org/docs/latest/tutorial/fuses • CWE-345: Insufficient Verification of Data Authenticity •
CVE-2023-23623 – Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron
https://notcve.org/view.php?id=CVE-2023-23623
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. • https://github.com/electron/electron/security/advisories/GHSA-gxh7-wv9q-fwfr • CWE-670: Always-Incorrect Control Flow Implementation •
CVE-2023-29198 – Context isolation bypass via nested unserializable return value in Electron
https://notcve.org/view.php?id=CVE-2023-29198
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps using `contextIsolation` and `contextBridge` are affected. This 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. This issue is only exploitable if an API exposed to the main world via `contextBridge` can return an object or array that contains a javascript object which cannot be serialized, for instance, a canvas rendering context. This would normally result in an exception being thrown `Error: object could not be cloned`. • https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support • CWE-754: Improper Check for Unusual or Exceptional Conditions •
CVE-2023-39956 – Electron: Out-of-package code execution when launched with arbitrary cwd
https://notcve.org/view.php?id=CVE-2023-39956
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. • https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5 • CWE-94: Improper Control of Generation of Code ('Code Injection') •