lodash.mergewith@4.6.1 vulnerabilities

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

Direct Vulnerabilities

Known vulnerabilities in the lodash.mergewith package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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