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-2019-15657 Vulnerability in maven package org.webjars.npm:eslint-utils
CVE-2019-19771 Vulnerability in npm package coinstrig
CVE-2018-3770 Vulnerability in npm package markdown-pdf
CVE-2022-31023 Vulnerability in maven package com.typesafe.play:play_2.12
CVE-2017-12617 Vulnerability in maven package org.apache.tomcat:tomcat-util