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.
Recommendation
Update the lodash-es
package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.7.0, < 4.17.20
- Patched version(s): 4.17.20
References
- GHSA-p6mc-m468-83gw
- hackerone.com
- security.netapp.com
- CVE-2020-8203
- CWE-1321
- CWE-770
- CAPEC-310
- OWASP 2021-A6
Related Issues
- Regular Expression Denial of Service (ReDoS) in lodash (GHSA-29mw-wpgm-hmr9) - CVE-2020-28500
- Command Injection in lodash (GHSA-35jh-r3h4-6jhm) - CVE-2021-23337
- Prototype Pollution in lodash (GHSA-p6mc-m468-83gw) 4 - CVE-2020-8203
- Prototype Pollution in lodash (GHSA-p6mc-m468-83gw) 3 - CVE-2020-8203
- Tags:
- npm
- lodash-es
Anything's wrong? Let us know Last updated on August 12, 2025