CVE-2020-7772 Prototype Pollution
Prototype pollution in the doc-path library allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7772?
CVE-2020-7772 is a high-severity vulnerability in doc-path, published on 15 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects the package doc-path before 2.1.2.
Which versions are affected by CVE-2020-7772?
2 open source packages ship an affected version, including doc-path. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
doc-path npm | All versions | 2.1.2 |
doc-path npm | All versions | 2.1.2 |
Products include Doc-Path Project Doc-Path.
How do I fix CVE-2020-7772?
Upgrade doc-path to 2.1.2 or later.
Is CVE-2020-7772 being exploited?
There is no known exploitation of CVE-2020-7772 in the wild and no public exploit code.
Sources
Also known as GHSA-gm8g-xhh8-rmwr, SNYK-JS-DOCPATH-1011952.