CVE-2021-25947 Prototype pollution in nestie
Prototype pollution in the nestie npm library allows attackers to cause denial of service and potentially execute remote code.
- 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-25947?
CVE-2021-25947 is a critical code injection vulnerability in nestie, published on 3 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Prototype pollution vulnerability in 'nestie' versions 0.0.0 through 1.0.0 allows an attacker to cause a denial of service and may lead to remote code execution.
Weakness: CWE-1321
Which versions are affected by CVE-2021-25947?
2 open source packages ship an affected version, including nestie. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nestie npm | All versions | 1.0.1 |
nestie npm | All versions | 1.0.1 |
Products include Nestie Project Nestie.
How do I fix CVE-2021-25947?
Upgrade nestie to 1.0.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-25947 being exploited?
There is no known exploitation of CVE-2021-25947 in the wild and no public exploit code.
Sources
Also known as GHSA-m7rg-8wvq-846v.