CVE-2021-25913 Prototype Pollution in set-or-get

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
set-or-get npmFrom 1.0.01.2.11
set-or-get npmFrom 1.0.01.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.

Is CVE-2021-25913 in your software?

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

Check your SBOMs for free