CVE-2018-1000136 Electron Vulnerable to Code Execution by Re-Enabling Node.js Integration
HighCVSS 8.1
EPSS 5.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values vulnerability in Webviews that can result in remote code execution. This attack appear to be exploitable via an app which allows execution of 3rd party code AND disallows node integration AND has not specified if webview is enabled/disabled. This vulnerability appears to have been fixed in 1.7.13, 1.8.4, 2.0.0-beta.4.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| electronjs electron | = 2.0.0; = 2.0.0-beta1; = 2.0.0-beta2; = 2.0.0-beta3 +3 more | after 1.7.12, 1.8.3 | Fixed |
| npm electron(npm) | >= 1.7.0, < 1.7.13; >= 1.8.0, < 1.8.4; >= 2.0.0-beta.1, < 2.0.0-beta.5 | 1.7.13, 1.8.4, 2.0.0-beta.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm electron(npm) | >= 2.0.0-beta.1, < 2.0.0-beta.5 | 2.0.0-beta.5 |
| npm electron(npm) | >= 1.7.0, < 1.7.13 | 1.7.13 |
| npm electron(npm) | >= 1.8.0, < 1.8.4 | 1.8.4 |
| electronjs electron | >= 1.7.0, <= 1.7.12 | No fix listed |
| electronjs electron | >= 1.8.0, <= 1.8.3 | No fix listed |
| electronjs electron | = 2.0.0 | No fix listed |
| electronjs electron | = 2.0.0-beta1 | No fix listed |
| electronjs electron | = 2.0.0-beta2 | No fix listed |
| electronjs electron | = 2.0.0-beta3 | No fix listed |
| electronjs electron | = 2.0.0-beta4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- electronjs.org
- www.npmjs.com
- www.electronjs.org mitigation patch vendor-advisory
- www.trustwave.com exploit third-party-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com
- github.com product