Description
install-nw is a module which quickly and robustly installs and caches NW.js. install-nw versions below 1.1.5 download binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/204
Related Vulnerabilities
CVE-2017-2617 Vulnerability in maven package io.hawt:hawtio-system
CVE-2020-8215 Vulnerability in maven package org.webjars.npm:canvas
CVE-2018-6591 Vulnerability in npm package converse.js
CVE-2018-3746 Vulnerability in npm package pdfinfojs
CVE-2022-36083 Vulnerability in npm package jose-browser-runtime