Skip to content

Prototype Pollution in lodash.defaultsdeep

High severity GitHub Reviewed Published Sep 3, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm lodash.defaultsdeep (npm)

Affected versions

< 4.6.1

Patched versions

4.6.1

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 3, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-h5mp-5q4p-ggf5

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.