~ / search / GHSA-jf85-cpcp-j695

GHSA-jf85-cpcp-j695

Prototype Pollution in lodash

Source: GitHub Advisory Database (reviewed) Critical CVE-2019-10744

Packages

EcosystemPackageAffectedFixed in
npm lodash < 4.17.12 4.17.12
npm lodash-es < 4.17.14 4.17.14
npm lodash-amd < 4.17.13 4.17.13
npm lodash.defaultsdeep < 4.6.1 4.6.1
RubyGems lodash-rails < 4.17.12 4.17.12

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.