HighGHSA-fjqr-fx3f-g4rvCVE-2018-1000118

Electron protocol handler browser vulnerable to Command Injection

Published 26 Mar 2018 · Updated 8 Nov 2023

Affected package

Affected
<1.8.2-beta5
Fixed in
1.8.2-beta5
Update to the fixed version for your release line, for example:npm install electron@1.8.2-beta5

Details

Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in command execute. This attack appear to be exploitable via the victim opening an electron protocol handler in their browser. This vulnerability appears to have been fixed in Electron 1.8.2-beta.5. This issue is due to an incomplete fix for CVE-2018-1000006, specifically the black list used was not case insensitive allowing an attacker to potentially bypass it.

Is GHSA-fjqr-fx3f-g4rv in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.