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-25915 Vulnerability in npm package changeset
CVE-2019-16544 Vulnerability in maven package org.jenkins-ci.plugins:qmetry-for-jira-test-management
CVE-2019-1003089 Vulnerability in maven package ren.helloworld:upload-pgyer
CVE-2022-23106 Vulnerability in maven package io.jenkins:configuration-as-code
CVE-2018-1313 Vulnerability in maven package org.apache.derby:derby