PT-2018-4713 · Electron · Electron Packager
Malept
·
Published
2018-05-31
·
Updated
2019-10-09
·
CVE-2016-10534
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
electron-packager versions 5.2.1 through 6.0.2
Description
The issue allows an attacker to perform a man-in-the-middle attack due to the
--strict-ssl command line option defaulting to false if not explicitly set to true. This could enable an attacker with a privileged network position to launch a Man In The Middle (MITM) attack on the install process, intercepting the step where electron-packager downloads Electron for supported target platforms and architectures, and replacing the valid download with a tampered malicious one. The issue only affects users using the electron-packager CLI, as the strict-ssl option defaults to true for the node.js API.Recommendations
Update to version 7.0.0 or later.
Delete the
electron-download cache folder, which is by default located at ~/.electron.Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Electron Packager