Packages / electron / Security
Electron protocol handler browser vulnerable to Command Injection
Affected releases · electron
- 1.x1.3.1 – 1.8.1Fixed in 1.8.2
- 0.4.x and older0.1.0 – 0.4.1No fix, no longer updated
On 1.x, the newest line:
npm install electron@1.8.2Not affected
45.0.0
1 release, latest
Affected
1.3.1 – 1.8.1
72 releases
Fixed
1.8.2 – 1.8.8
7 releases
Affected
0.1.0 – 0.4.1
8 releases
Is your project affected?
Paste your package.json, or type the range you declare for electron. It is read in your browser and sent nowhere.
What happens
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.