CVE-2021-25949 set-getter Prototype Pollution Vulnerability

Critical 9.8 Published Updated

Prototype pollution in set-getter 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-25949?

CVE-2021-25949 is a critical code injection vulnerability in set-getter, published on 10 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 'set-getter' version 0.1.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-25949?

2 open source packages ship an affected version, including set-getter. It affects 1 product.

PackageAffectedFixed in
set-getter npmAll versions0.1.1
set-getter npmAll versions0.1.1

Products include Set-Getter Project Set-Getter.

How do I fix CVE-2021-25949?

Upgrade set-getter to 0.1.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-25949 being exploited?

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

Sources

Also known as GHSA-jv35-xqg7-f92r.

Is CVE-2021-25949 in your software?

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

Check your SBOMs for free