GHSA-h5mp-5q4p-ggf5
JSON

high

Prototype Pollution in lodash.defaultsdeep

Severity
high rating by GitHub
Published
Last changed

Description

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.

Recommendation

Update to version 4.6.1 or later.

Affected

Product or packageVersionsReported by
lodash.defaultsdeep (npm)before 4.6.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-h5mp-5q4p-ggf5 changed 2020-08-31CC-BY-4.0