CVE-2021-25915 Changeset vulnerable to prototype pollution
Prototype pollution in the changeset 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-25915?
CVE-2021-25915 is a critical code injection vulnerability in changeset, published on 9 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Prototype pollution vulnerability in 'changeset' versions 0.0.1 through 0.2.5 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-25915?
2 open source packages ship an affected version, including changeset. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
changeset npm | From 0.0.1 | 0.2.5 |
changeset npm | From 0.0.1 | 0.2.5 |
Products include Changeset Project Changeset.
How do I fix CVE-2021-25915?
Upgrade changeset to 0.2.5 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-25915 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25915 exists.
Sources
Also known as GHSA-2gqw-q9r9-7f79.