Live threats

All CVEs / Immer Project

CVE-2021-23436Immer Project Immer

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Sep 1, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-843
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

This affects the package immer before 9.0.6. A type confusion vulnerability can lead to a bypass of CVE-2020-28477 when the user-provided keys used in the path parameter are arrays. In particular, this bypass is possible because the condition (p === "__proto__" || p === "constructor") in applyPatches_ returns false if p is ['__proto__'] (or ['constructor']). The === operator (strict equality operator) returns false if the operands have different type.

Original NVD text.

What to do

  1. Apply the vendor's security update for Immer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm immer ≥ 7.0.0 < 9.0.6 9.0.6 npm install immer@9.0.6

Per OSV / GitHub Advisories (GHSA-33f9-j839-rf8h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
immer_projectimmer< 9.0.6

Official sources

References

Links published by the sources. Open them with care.

  • github.com Patch Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory