Skip to content

Prototype Pollution in lodash

High severity GitHub Reviewed Published Feb 7, 2019 to the GitHub Advisory Database • Updated Nov 1, 2023

Package

npm lodash (npm)

Affected versions

< 4.17.11

Patched versions

4.17.11

Description

Versions of lodash before 4.17.11 are vulnerable to prototype pollution.

The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which 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.17.11 or later.

References

Published to the GitHub Advisory Database Feb 7, 2019
Reviewed Jun 16, 2020
Last updated Nov 1, 2023

Severity

High

EPSS score

0.130%
(50th percentile)

Weaknesses

CVE ID

CVE-2018-16487

GHSA ID

GHSA-4xc9-xhrj-v574

Source code

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