CVE-2020-7643 Prototype pollution in paypal-adaptive
Prototype pollution in the paypal-adaptive library allows attackers to modify Object.prototype, 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
- None listed
What is CVE-2020-7643?
CVE-2020-7643 is a medium-severity code injection vulnerability in paypal-adaptive, published on 23 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
paypal-adaptive through 0.4.2 manipulation of JavaScript objects resulting in Prototype Pollution. The PayPal function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Weakness: CWE-1321
Which versions are affected by CVE-2020-7643?
2 open source packages ship an affected version, including paypal-adaptive. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paypal-adaptive npm | All versions to 0.4.2 | None |
paypal-adaptive npm | All versions to 0.4.2 | None |
Products include Idea Paypal-Adaptive.
How do I fix CVE-2020-7643?
No fix has been published for CVE-2020-7643 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-2020-7643 being exploited?
There is no known exploitation of CVE-2020-7643 in the wild and no public exploit code.
Sources
Also known as GHSA-v3r2-3fp4-rp46.