lodash.mergewith@4.0.0 vulnerabilities

The Lodash method `_.mergeWith` exported as a module.

  • latest version

    4.6.2

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the lodash.mergewith 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

    lodash.mergewith is a Lodash method _.mergewith exported as a Node.js module.

    Affected versions of this package are vulnerable to Prototype Pollution. The functions merge, mergeWith, and defaultsDeep could be tricked into adding or modifying properties of Object.prototype. This is due to an incomplete fix to CVE-2018-3721.

    How to fix Prototype Pollution?

    Upgrade lodash.mergewith to version 4.6.2 or higher.

    <4.6.2
    • M
    Prototype Pollution

    lodash.mergewith is a Lodash method _.mergewith exported as a Node.js module.

    Affected versions of this package are vulnerable to Prototype Pollution. The utilities function allow modification of the Object prototype. If an attacker can control part of the structure passed to this function, they could add or modify an existing property.

    How to fix Prototype Pollution?

    Upgrade lodash.mergewith to version 4.6.1 or higher.

    <4.6.1