QID 981061

QID 981061: Nodejs (npm) Security Update for immer (GHSA-33f9-j839-rf8h)

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.

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to refer to GHSA-33f9-j839-rf8h for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 981061

    Software Advisories
    Advisory ID Software Component Link
    GHSA-33f9-j839-rf8h immer URL Logo github.com/advisories/GHSA-33f9-j839-rf8h