CVE-2021-3757 Prototype Pollution in immerjs/immer

High 7.5 Published Updated

Prototype pollution in the immer library allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.

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-3757?

CVE-2021-3757 is a high-severity vulnerability in immerjs/immer, published on 2 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Weakness: CWE-1321

Which versions are affected by CVE-2021-3757?

2 open source packages ship an affected version, including immer. It affects 1 product.

PackageAffectedFixed in
immer npmFrom 7.0.09.0.6
immer npmFrom 7.0.09.0.6

Products include Immer Project Immer.

How do I fix CVE-2021-3757?

Upgrade immer to 9.0.6 or later.

Is CVE-2021-3757 being exploited?

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

Sources

Also known as GHSA-c36v-fmgq-m8hx, ROOT-APP-NPM-CVE-2021-3757.

Is CVE-2021-3757 in your software?

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

Check your SBOMs for free