Skip to content

Prototype Pollution in lodash.mergewith

High severity GitHub Reviewed Published Sep 3, 2020 • Updated Sep 29, 2021

Package

npm lodash.mergewith (npm)

Affected versions

< 4.6.2

Patched versions

4.6.2

Description

Versions of lodash.mergewith before 4.6.2 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.2 or later.

References

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-779f-wgxg-qr8f

Source code

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