CVE-2016-10572 Downloads Resources over HTTP in mongodb-instance

High 8.1 Published Updated

Attackers can execute arbitrary code by intercepting HTTP downloads of MongoDB binaries in the mongodb-instance npm package.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10572?

CVE-2016-10572 is a high-severity vulnerability in HackerOne mongodb-instance node module, published on 31 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-310, CWE-311

Which versions are affected by CVE-2016-10572?

2 open source packages ship an affected version, including mongodb-instance. It affects 1 product.

PackageAffectedFixed in
mongodb-instance npmAll versions0.0.3
mongodb-instance npmAll versions0.0.3

Products include Mongodb-Instance Project Mongodb-Instance.

How do I fix CVE-2016-10572?

Upgrade mongodb-instance to 0.0.3 or later.

Is CVE-2016-10572 being exploited?

There is no known exploitation of CVE-2016-10572 in the wild and no public exploit code.

Sources

Also known as GHSA-7r8m-45gc-m2c8.

Is CVE-2016-10572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free