Advisory

GHSA-q43m-ffwr-rpcc

Also known as: CVE-2016-10534

Summary

SSL Validation Defaults to False in electron-packager

Details

Affected versions of electron-packager configure the generated application to disable SSL certificate verification by default.

This could allow 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.

This only affects users using the electron-packager CLI. The strict-ssl option defaults to true for the node.js API.

Recommendation

  1. Update to version 7.0.0 or later.
  2. Delete the electron-download cache folder, which is by default located at ~/.electron.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2019-02-18 23:58 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

electron-packager

npm · All systems

Affected

  • introduced 5.2.1, fixed 7.0.0 (semver)

Fixed versions

7.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences