GHSA-p6mc-m468-83gw
Prototype Pollution in lodash
Quick fix
GHSA-p6mc-m468-83gw — lodash: upgrade to the fixed version with the command below.
npm install lodash@4.17.19Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0No fixed version published yet for lodash.pick (npm). Pin to a known-safe version or switch to an alternative.
3.7.0No fixed version published yet for lodash.set (npm). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for lodash.setwith (npm). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for lodash.update (npm). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for lodash.updatewith (npm). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8203[ADVISORY]
- https://github.com/lodash/lodash/issues/4744[WEB]
- https://github.com/lodash/lodash/issues/4874[WEB]
- https://github.com/github/advisory-database/pull/2884[WEB]
- https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12[WEB]
- https://hackerone.com/reports/712065[WEB]
- https://hackerone.com/reports/864701[WEB]
- https://github.com/lodash/lodash[PACKAGE]
- https://github.com/lodash/lodash/wiki/Changelog#v41719[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2020-8203.yml[WEB]
- https://security.netapp.com/advisory/ntap-20200724-0006[WEB]
- https://web.archive.org/web/20210914001339/https://github.com/lodash/lodash/issues/4744[WEB]