CVE-2021-25913 Prototype Pollution in set-or-get
Prototype pollution in set-or-get 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-25913?
CVE-2021-25913 is a critical code injection vulnerability in set-or-get, published on 8 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 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-25913?
2 open source packages ship an affected version, including set-or-get. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
set-or-get npm | From 1.0.0 | 1.2.11 |
set-or-get npm | From 1.0.0 | 1.2.11 |
Products include Set-or-Get Project Set-or-Get.
How do I fix CVE-2021-25913?
Upgrade set-or-get to 1.2.11 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-25913 being exploited?
There is no known exploitation of CVE-2021-25913 in the wild and no public exploit code.
Sources
Also known as GHSA-6rv4-4qv6-88g2.