CVE-2021-23442 Prototype Pollution
Prototype pollution in @cookiex/deep allows attackers to modify global 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-2021-23442?
CVE-2021-23442 is a high-severity vulnerability in @cookiex/deep, published on 17 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package @cookiex/deep. The global proto object can be polluted using the __proto__ object.
Weakness: CWE-1321
Which versions are affected by CVE-2021-23442?
2 open source packages ship an affected version, including @cookiex/deep. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@cookiex/deep npm | All versions | 0.0.7 |
@cookiex/deep npm | All versions | 0.0.7 |
Products include Cookiex-Deep Project Cookiex-Deep.
How do I fix CVE-2021-23442?
Upgrade @cookiex/deep to 0.0.7 or later.
Is CVE-2021-23442 being exploited?
There is no known exploitation of CVE-2021-23442 in the wild and no public exploit code.
Sources
Also known as GHSA-92v9-xh2q-fq9f, SNYK-JS-COOKIEXDEEP-1582793.