promisehelpers@0.0.3 vulnerabilities

Promise helper functions

  • latest version

    0.0.6

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    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