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-2019-1003024 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2021-21172 Vulnerability in maven package org.webjars.npm:electron
CVE-2017-12621 Vulnerability in maven package commons-jelly:commons-jelly
CVE-2019-1003057 Vulnerability in maven package org.jenkins-ci.plugins:bitbucket-approve