Quick answers
- Is CVE-2021-3757 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-3757 being exploited in the wild.
- How severe is CVE-2021-3757?
- Low severity, with a CVSS score of 3, published 7 September 2021.
- Which products and versions are affected?
- immer (npm) SEMVER:introduced=7.0.0,fixed=9.0.6.
- Is there a fix for CVE-2021-3757?
- Yes. immer (npm): upgrade to 9.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-3757 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-3757?
- Check whether you run immer (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- immer (npm): upgrade to 9.0.6 or later
npm install immer@9.0.6
Technical details
immer is vulnerable to prototype pollution (CWE-1321, CWE-915) in its patch handling mechanism. The vulnerability allows an attacker to pollute the Object prototype by crafting malicious patch operations with paths like `["__proto__"], "x"`. The attack is network-accessible and requires no authentication or user interaction. An attacker can modify prototype attributes on the target application, leading to denial of service or arbitrary behavior modification. The vulnerability was introduced in version 7.0.0 and is fixed in version 9.0.6.
Affected products
- Immer immer 7.0.0 to 9.0.5
Identifiers
- CVE-2021-3757
- GHSA-c36v-fmgq-m8hx
Timeline
- 2021-09-07: disclosed
- 2021-09-03: patched: Fix commit: fa671e5