Patrowl Intel
Sign in
Skip to the CVEs

Filter by signal

3 Immer CVEs, newest first

  1. 7.5 1 exploit EPSS 1.7 % RemoteSep 7, 2021

    Prototype Pollution in immer immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').

  2. 9.8 2 exploits EPSS 1.8 % RemoteSep 2, 2021

    Prototype Pollution in immer 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.

  3. 7.5 2 exploits EPSS 2.5 % RemoteJan 20, 2021

    Prototype Pollution in immer ## Overview Affected versions of immer are vulnerable to Prototype Pollution. ## Proof of exploit ```js const {applyPatches, enablePatches} = require("immer"); enablePatches(); let obj = {}; console.log("Before : " + obj.polluted); applyPatches({}, [ { op: 'add', path: [ "__proto__", "polluted" ], value: "yes" } ]); // applyPatches({}, [ { op: 'replace', path: [ "__proto__", "polluted" ], value: "yes" } ]); console.log("After : " + obj.polluted); ``` ## Remediation Version 8.0.1 contains a [fix](https://github.com/immerjs/immer/commit/da2bd4fa0edc9335543089fe7d290d6a346c40c5) for this vulnerability, updating is recommended.