Code Injection in Electron - CVE-2023-39956

 

Code Injection in Electron - CVE-2023-39956

Published: September 13, 2023 / Updated: September 13, 2023


Vulnerability identifier: #VU80728
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-39956
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when launched with arbitrary cwd. A remote user can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Electron
Visual Studio Code

How to mitigate CVE-2023-39956

Install updates from vendor's website.

Electron - addressed in versions 22.3.19, 23.3.13, 24.7.1, 25.5.0, 26.0.0 beta.13
Visual Studio Code - update to 1.80.2

External References

Related Security Bulletins