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-2021-42228 Vulnerability in npm package kindeditor
CVE-2019-17495 Vulnerability in maven package org.webjars.npm:swagger-ui
CVE-2016-1000352 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2010-2076 Vulnerability in maven package org.apache.cxf:cxf-bundle-jaxrs
CVE-2021-23383 Vulnerability in maven package org.webjars.npm:handlebars