Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-q43m-ffwr-rpcc

Опубликовано: 18 фев. 2019
Источник: github
Github: Прошло ревью

Описание

SSL Validation Defaults to False in electron-packager

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.

Пакеты

Наименование

electron-packager

npm
Затронутые версииВерсия исправления

>= 5.2.1, < 7.0.0

7.0.0

EPSS

Процентиль: 37%
0.00156
Низкий

Дефекты

CWE-295

Связанные уязвимости

CVSS3: 5.9
nvd
больше 7 лет назад

electron-packager is a command line tool that packages Electron source code into `.app` and `.exe` packages. along with Electron. The `--strict-ssl` command line option in electron-packager >= 5.2.1 <= 6.0.0 || >=6.0.0 <= 6.0.2 defaults to false if not explicitly set to true. This could allow an attacker to perform a man in the middle attack.

EPSS

Процентиль: 37%
0.00156
Низкий

Дефекты

CWE-295