dot-notes@2.1.0 vulnerabilities

Two way conversions between objects and dot/bracket notation

  • latest version

    3.2.2

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the dot-notes 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
    • H
    Prototype Pollution

    dot-notes is a Two way conversions between objects and dot/bracket notation

    Affected versions of this package are vulnerable to Prototype Pollution via the create function.

    POC:

    const dots = require('dot-notes');
    dots.create({}, '__proto__.polluted', true);
    console.log(polluted);
    

    How to fix Prototype Pollution?

    Upgrade dot-notes to version 3.2.1 or higher.

    <3.2.1