CVE-2021-23436

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Sep 1, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-234377.5The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.CVE-2021-234389.8This affects the package mpath before 0.8.4. A type confusion vulnerability can lead to a bypass of CVE-2018-16490. In particular, the condiCVE-2021-234396.1This affects the package file-upload-with-preview before 4.2.0. A file containing malicious JavaScript code in the name can be uploaded (a uCVE-2021-23447.5Vulnerability in the Oracle Coherence product of Oracle Fusion Middleware (component: Core). Supported versions that are affected are 3.7.1.CVE-2021-234409.8This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 whenCVE-2021-234429.8This affects all versions of package @cookiex/deep. The global proto object can be polluted using the __proto__ object.CVE-2021-234436.1This affects the package edge.js before 5.3.2. A type confusion vulnerability can be used to bypass input sanitization when the input to be CVE-2021-234449.8This affects the package jointjs before 3.4.2. A type confusion vulnerability can lead to a bypass of CVE-2020-28480 when the user-provided CVE-2021-234456.1This affects the package datatables.net before 1.11.3. If an array is passed to the HTML escape entities function it would not have its contCVE-2021-234467.5The package handsontable before 10.0.0; the package handsontable from 0 and before 10.0.0 are vulnerable to Regular Expression Denial of SerCVE-2021-234476.1This affects the package teddy before 0.5.9. A type confusion vulnerability can be used to bypass input sanitization when the model content CVE-2021-234489.8All versions of package config-handler are vulnerable to Prototype Pollution when loading config files.
CVE-2021-23436: Critical severity, CVSS 9.8 | Vulnix