VDB
Sign up
HIGH

GHSA-46fh-8fc5-xcwx

Prototype Pollution in lodash.defaultsdeep

Quick fix

GHSA-46fh-8fc5-xcwx — lodash.defaultsdeep: upgrade to the fixed version with the command below.

npm install lodash.defaultsdeep@4.6.1

Details

Versions of `lodash.defaultsdeep` before 4.6.1 are vulnerable to Prototype Pollution. The function 'defaultsDeep' may allow a malicious user to modify the prototype of `Object` via `__proto__` causing the addition or modification of an existing property that will exist on all objects.

## Recommendation

Update to version 4.6.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/lodash.defaultsdeep
Introduced in: 0Fixed in: 4.6.1
Fixnpm install lodash.defaultsdeep@4.6.1

References