nestie@1.0.1 vulnerabilities

A tiny (215B) and fast utility to expand a flattened object

  • latest version

    1.0.3

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nestie package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Prototype Pollution

    nestie is an A tiny (224B) and fast utility to expand a flattened object

    Affected versions of this package are vulnerable to Prototype Pollution. A bypass of CVE-2021-25947 is possible which could lead to pollution of the object prototype.

    PoC

    var { nestie } = require("nestie")
    console.log("Before : " + {}.polluted);
    nestie({"constructor.prototype.polluted": "Yes! Its Polluted"})
     console.log("After : " + {}.polluted);
    

    How to fix Prototype Pollution?

    Upgrade nestie to version 1.0.2 or higher.

    <1.0.2