What’s Vulnerable › Vulnerabilities
CVE-2018-3721: Prototype Pollution in lodash
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-06-07 · updated 2026-06-17
- Weakness: CWE-471
Description
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.
Affected products
- lodash: before 4.17.5 — fixed in 4.17.5
- Active IQ Unified Manager for VMware vSphere, Linux, and Microsoft Windows: all versions
- NetApp System Manager: 9.0
- Npm Lodash: before 4.17.5 — fixed in 4.17.5
- Rubygems Lodash-Rails: before 4.17.5; 0.10.0, 0.7.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1 (+44) — fixed in 4.17.5
How to fix
Upgrade to a fixed version: lodash 4.17.5; Npm Lodash 4.17.5; Rubygems Lodash-Rails 4.17.5. Check the vendor advisory for mitigations.
References
- https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a
- https://hackerone.com/reports/310443
- https://security.netapp.com/advisory/ntap-20190919-0004/
- https://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a
- https://hackerone.com/reports/310443
- https://security.netapp.com/advisory/ntap-20190919-0004/
Get alerted when CVE-2018-3721 or the next vulnerability affects your stack