lodash.defaultsdeep@4.2.0 vulnerabilities

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

Direct Vulnerabilities

Known vulnerabilities in the lodash.defaultsdeep 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.defaultsdeep is a Lodash method _.defaultsDeep 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.defaultsdeep to version 4.6.1 or higher.

<4.6.1
  • M
Prototype Pollution

lodash.defaultsdeep is a Lodash method _.defaultsDeep 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.defaultsdeep to version 4.6.1 or higher.

<4.6.1