GHSA-jf85-cpcp-j695

Prototype Pollution in lodash

At a glance

Published
Updated
CVE
CVE-2019-10744
Aliases
SNYK-JS-LODASH-450202
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Description

Versions of `lodash` before 4.17.12 are vulnerable to Prototype Pollution. The function `defaultsDeep` allows 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.12 or later.

Affected packages

PackageVersions
npm · lodashintroduced 0, fixed 4.17.12
npm · lodash-esintroduced 0, fixed 4.17.14
npm · lodash-amdintroduced 0, fixed 4.17.13
npm · lodash.defaultsdeepintroduced 0, fixed 4.6.1
RubyGems · lodash-railsintroduced 0, fixed 4.17.12

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database