4.7 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.
References
-
https://github.com/electron/electron/security/advisories/GHSA-mwmh-mq4g-g6gr x_refsource_CONFIRM
Affected products
- ==>= 39.0.0-alpha.1, < 39.8.1
- ==>= 41.0.0-alpha.1, < 41.0.0
- ==< 38.8.6
- ==>= 40.0.0-alpha.1, < 40.8.1
Matching in nixpkgs
pkgs.electron
Cross platform desktop application shell
pkgs.electron_38
None
-
nixos-26.05 -
- nixos-26.05-small 38.8.4
pkgs.electron_39
Cross platform desktop application shell
pkgs.electron_40
Cross platform desktop application shell
pkgs.electron_41
Cross platform desktop application shell
pkgs.electron_42
Cross platform desktop application shell
pkgs.electron_43
Cross platform desktop application shell
pkgs.electron_44
Cross platform desktop application shell
-
nixos-unstable -
- nixos-unstable-small 44.3.0
pkgs.electron-bin
Cross platform desktop application shell
pkgs.electron-cash
Bitcoin Cash SPV Wallet
pkgs.electron-mail
Unofficial Election-based ProtonMail desktop client
pkgs.electron-fiddle
Easiest way to get started with Electron
pkgs.electron_38-bin
None
-
nixos-26.05 -
- nixos-26.05-small 38.8.4
pkgs.electron_39-bin
Cross platform desktop application shell
pkgs.electron_40-bin
Cross platform desktop application shell
pkgs.electron_41-bin
Cross platform desktop application shell
pkgs.electron_42-bin
Cross platform desktop application shell
pkgs.electron_43-bin
Cross platform desktop application shell
pkgs.electron_44-bin
Cross platform desktop application shell
-
nixos-unstable -
- nixos-unstable-small 44.3.0
pkgs.notion-electron
Enhanced Notion Desktop client for Linux
-
nixos-unstable -
- nixos-unstable-small 2.4.0
pkgs.todoist-electron
To-Do List App & Task Manager
pkgs.jitsi-meet-electron
Jitsi Meet desktop application powered by Electron
pkgs.electron-chromedriver
WebDriver server for running Selenium tests on Chrome
pkgs.idrisPackages.electron
Electron bindings for Idris
-
nixos-unstable -
- nixos-unstable-small 2016-03-07
-
nixos-26.05 -
- nixos-26.05-small 2016-03-07
pkgs.electron-chromedriver_38
None
-
nixos-26.05 -
- nixos-26.05-small 38.8.4
pkgs.electron-chromedriver_39
WebDriver server for running Selenium tests on Chrome
pkgs.electron-chromedriver_40
WebDriver server for running Selenium tests on Chrome
pkgs.electron-chromedriver_41
WebDriver server for running Selenium tests on Chrome
pkgs.electron-chromedriver_42
WebDriver server for running Selenium tests on Chrome
pkgs.electron-chromedriver_43
WebDriver server for running Selenium tests on Chrome
pkgs.electron-chromedriver_44
WebDriver server for running Selenium tests on Chrome
-
nixos-unstable -
- nixos-unstable-small 44.3.0
Package maintainers
-
@TomaSajt TomaSajt
-
@yayayayaka Yaya <github@uwu.is>
-
@teutat3s teutat3s <teutates@mailbox.org>
-
@oxalica oxalica <oxalicc@pm.me>
-
@nyanloutre Paul Trehiou <paul@nyanlout.re>
-
@liam-murphy14 Liam Murphy <liam.murphy137@gmail.com>
-
@andersk Anders Kaseorg <andersk@mit.edu>
-
@BatteredBunny BatteredBunny <ayes2022@protonmail.com>
-
@Princemachiavelli Josh Hoffer <jhoffer@sansorgan.es>
-
@brainrake Marton Boros <martonboros@gmail.com>
-
@ryantm Ryan Mulligan <ryan@ryantm.com>
-
@novmar Marcel Novotny <novotny@marnov.cz>
-
@Lassulus Lassulus <lassulus@gmail.com>
-
@Mowerick Oliver Hagenauer <oliverhagenauer@gmail.com>
-
@pokon548 Bu Kun <nix@bukn.uk>
-
@kylesferrazza Kyle Sferrazza <nixpkgs@kylesferrazza.com>