CVE-2018-3751 Prototype Pollution in merge-recursive

Critical 9.8 Published Updated

Attackers can modify the Object prototype via controlled input, leading to arbitrary code execution or privilege escalation in applications using this Node.js library.

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

What is CVE-2018-3751?

CVE-2018-3751 is a critical code injection vulnerability in n/a, published on 3 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The utilities function in all versions <= 0.3.0 of the merge-recursive node module can be tricked into modifying the prototype of Object when the attacker can control part of the structure passed to this function. This can let an attacker add or modify existing properties that will exist on all objects.

Weakness: CWE-20

Which versions are affected by CVE-2018-3751?

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

PackageAffectedFixed in
merge-recursive npmAll versions to 0.0.3None
merge-recursive npmAll versions to 0.0.3None

Products include Umbraengineering Merge-Recursive.

How do I fix CVE-2018-3751?

No fix has been published for CVE-2018-3751 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-3751 being exploited?

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

Sources

Also known as GHSA-cvxm-f295-x957.

Is CVE-2018-3751 in your software?

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

Check your SBOMs for free