GHSA-p6mc-m468-83gw

Prototype Pollution in lodash

At a glance

Published
Updated
CVE
CVE-2020-8203
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Description

Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions `pick`, `set`, `setWith`, `update`, `updateWith`, and `zipObjectDeep` allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires manipulating objects based on user-provided property values or arrays. This vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.

Affected packages

PackageVersions
npm · lodashintroduced 3.7.0, fixed 4.17.19
npm · lodash-esintroduced 3.7.0, fixed 4.17.20
npm · lodash.pickintroduced 4.0.0, last affected 4.4.0
npm · lodash.setintroduced 3.7.0, last affected 4.3.2
npm · lodash.setwithintroduced 0, last affected 4.3.2
npm · lodash.updateintroduced 0, last affected 4.10.2
npm · lodash.updatewithintroduced 0, last affected 4.10.2
RubyGems · lodash-railsintroduced 3.7.0, fixed 4.17.19

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database