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

    5 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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