CVE-2021-23442 Prototype Pollution

High 8.6 Published Updated

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.

PackageAffectedFixed in
@cookiex/deep npmAll versions0.0.7
@cookiex/deep npmAll versions0.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.

Is CVE-2021-23442 in your software?

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

Check your SBOMs for free