Advisory

GHSA-h5mp-5q4p-ggf5

Also known as: None

Summary

Prototype Pollution in lodash.defaultsdeep

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 18:07 UTC
Modified
2020-08-31 18:46 UTC

Affected packages and fixes

lodash.defaultsdeep

npm · All systems

Affected

  • introduced 0, fixed 4.6.1 (semver)

Fixed versions

4.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences