{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23436","published":"2021-09-01T18:15:08.477000Z","last_modified":"2026-06-17T03:38:45.597000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-843"],"cpes":[{"criteria":"cpe:2.3:a:immer_project:immer:*:*:*:*:*:node.js:*:*","part":"a","vendor":"immer_project","product":"immer","version_end_excluding":"9.0.6"}],"cpes_truncated":false,"vendors":["immer_project"],"products":["immer_project/immer"],"epss":{"score":0.01795,"percentile":0.78959,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-33f9-j839-rf8h","ecosystem":"npm","name":"immer","purl":"pkg:npm/immer","ranges":[{"introduced":"7.0.0","fixed":"9.0.6"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-23436/","html_en":"/en/cve/CVE-2021-23436/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23436","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23436"},"untrusted":{"vendor_name":"Immer Project","product_name":"Immer","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/immerjs/immer/commit/fa671e55ee9bd42ae08cc239102b665a23958237","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1579266","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-IMMER-1540542","tags":["Exploit","Patch","Third Party Advisory"]}]}}