min-dash@3.1.0 vulnerabilities

Minimum utility toolbelt

  • latest version

    4.2.2

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    min-dash is a Minimal utility tool belt to be used with bpmn.io related libraries.

    Affected versions of this package are vulnerable to Prototype Pollution via the set method due to missing enforcement of key types.

    PoC:

    let parser = require("min-dash");
    parser.set({}, [["__proto__"], "polluted"], "success");
    console.log(polluted);
    

    How to fix Prototype Pollution?

    Upgrade min-dash to version 3.8.1 or higher.

    <3.8.1