CVE-2021-3757 Prototype Pollution in immerjs/immer
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.
| Package | Affected | Fixed in |
|---|---|---|
immer npm | From 7.0.0 | 9.0.6 |
immer npm | From 7.0.0 | 9.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.
Other vulnerabilities in immerjs/immer
Sources
Also known as GHSA-c36v-fmgq-m8hx, ROOT-APP-NPM-CVE-2021-3757.