CVE-2021-23329 Prototype Pollution

High 7.5 Published Updated

Prototype pollution in nested-object-assign 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-2021-23329?

CVE-2021-23329 is a high-severity vulnerability in nested-object-assign, published on 31 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package nested-object-assign before 1.0.4 are vulnerable to Prototype Pollution via the default function, as demonstrated by running the PoC below.

Weakness: CWE-1321

Which versions are affected by CVE-2021-23329?

2 open source packages ship an affected version, including nested-object-assign. It affects 1 product.

PackageAffectedFixed in
nested-object-assign npmAll versions1.0.4
nested-object-assign npmAll versions1.0.4

Products include Getadigital Nested-Object-Assign.

How do I fix CVE-2021-23329?

Upgrade nested-object-assign to 1.0.4 or later.

Is CVE-2021-23329 being exploited?

There is no known exploitation of CVE-2021-23329 in the wild and no public exploit code.

Sources

Also known as GHSA-c497-v8pv-ch6x, ROOT-APP-NPM-CVE-2021-23329, SNYK-JS-NESTEDOBJECTASSIGN-1065977.

Is CVE-2021-23329 in your software?

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

Check your SBOMs for free