SSL Validation disabled by default Affecting electron-packager package, versions >=5.2.1 <7.0.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDnpm:electron-packager:20160422
  • published17 May 2016
  • disclosed22 Apr 2016
  • creditMark Lee

Introduced: 22 Apr 2016

CVE-2016-10534  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade electron-packager to version 7.0.0 or higher. If a direct dependency update is not possible, use snyk wizard to patch this vulnerability.

Delete the electron-download cache folder, by default named .electron, located in your home folder.

Overview

electron-packager is a command line tool that lets you package and distribute your Electron app with OS-specific bundles (.app, .exe etc) via JS or CLI.

Versions 5.2.1-6.0.2 have the --strict-ssl command line option default to false (causing strict-ssl to not be enabled). This could allow an attacker to execute a SSL Man In The Middle attack and deliver a malicious electron version that also gets cached in ~/.electron folder.

CVSS Scores

version 3.1