Skip to content

Commit 2c8e553

Browse files
Sergev ₱k9ert
andauthored
Patched Fix Electron vulnerable to out-of-package code execution when launched with arbitrary cwd (#2380)
This project used electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Affected of this project are vulnerable to Arbitrary Code Execution allowing out-of-package code execution when apps are launched as command-line executables. ```diff diff --git a/lib/internal/modules/run_main.js b/lib/internal/modules/run_main.js - index 5a50d5d6afab6e6648f72a1c0efa1df4cd80bcd9..0be45309028b00a6957ee473322a9452a7fa7d67 100644 --- a/lib/internal/modules/run_main.js + +++ b/lib/internal/modules/run_main.js @@ -13,6 +13,12 @@ const { ``` CWE-94 `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L` CVE-2023-39956 Co-authored-by: k9ert <[email protected]>
1 parent 1f40a3b commit 2c8e553

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyinstaller/electron/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,9 @@ [email protected]:
704704
lazy-val "^1.0.5"
705705
mime "^2.5.2"
706706

707-
electron@^22.1.0:
708-
version "22.1.0"
709-
resolved "https://registry.npmjs.org/electron/-/electron-22.1.0.tgz"
707+
electron@^22.3.21:
708+
version "22.3.21"
709+
resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.21.tgz#a817446cc1e62e9650522fa7eae389f9fc5b5e19"
710710
dependencies:
711711
"@electron/get" "^2.0.0"
712712
"@types/node" "^16.11.26"

0 commit comments

Comments
 (0)