CVE-2018-16490 Prototype Pollution in mpath
Attackers can inject arbitrary properties into Object.prototype via prototype pollution in the mpath library, 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-16490?
CVE-2018-16490 is a high-severity code injection vulnerability in HackerOne mpath, 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 module mpath <0.5.1 that allows an attacker to inject arbitrary properties onto Object.prototype.
Which versions are affected by CVE-2018-16490?
2 open source packages ship an affected version, including mpath. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mpath npm | All versions | 0.5.1 |
mpath npm | All versions | 0.5.1 |
Products include Mpath Project Mpath.
How do I fix CVE-2018-16490?
Upgrade mpath to 0.5.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-16490 being exploited?
There is no known exploitation of CVE-2018-16490 in the wild and no public exploit code.
Other vulnerabilities in HackerOne mpath
Sources
Also known as GHSA-h466-j336-74wx.