Overview
Versions of lodash.defaultsdeep
before 4.6.1 are vulnerable to prototype pollution. The function mergeWith
may allow a malicious user to modify the prototype of Object
via {constructor: {prototype: {...}}}
causing the addition or modification of an existing property that will exist on all objects.
Remediation
Update to version 4.6.1 or later.
Have content suggestions? Visit npmjs.com/support.
Advisory timeline
published
Advisory PublishedJul 15th, 2019reported
Reported by asgerfJul 15th, 2019