Description
mongodb-instance before 0.0.3 installs mongodb locally. mongodb-instance downloads 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/235
Related Vulnerabilities
CVE-2015-7501 Vulnerability in maven package commons-collections:commons-collections
CVE-2013-4590 Vulnerability in maven package org.apache.tomcat:tomcat-jasper
CVE-2020-2114 Vulnerability in maven package org.jenkins-ci.plugins:s3
CVE-2018-3786 Vulnerability in npm package egg-scripts
CVE-2022-29247 Vulnerability in maven package org.webjars.npm:electron