CVE-2018-16489 Prototype Pollution in just-extend

Critical 9.8 Published Updated

Prototype pollution in just-extend allows attackers to inject properties into Object.prototype, potentially leading to code execution or denial of service.

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

What is CVE-2018-16489?

CVE-2018-16489 is a critical code injection vulnerability in HackerOne just-extend, published on 1 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A prototype pollution vulnerability was found in just-extend <4.0.0 that allows attack to inject properties onto Object.prototype through its functions.

Weakness: CWE-74, CWE-400

Which versions are affected by CVE-2018-16489?

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

PackageAffectedFixed in
just-extend npmAll versions4.0.0
just-extend npmAll versions4.0.0

Products include Just-Extend Project Just-Extend.

How do I fix CVE-2018-16489?

Upgrade just-extend to 4.0.0 or later.

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

Is CVE-2018-16489 being exploited?

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

Sources

Also known as GHSA-675m-85rw-j3w4.

Is CVE-2018-16489 in your software?

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

Check your SBOMs for free