CVE-2018-3721
MEDIUM6.5EPSS 0.25%Prototype Pollution in lodash
Published: 7/26/2018Modified: 8/12/2025
Description
Versions of `lodash` before 4.17.5 are vulnerable to prototype pollution. The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow 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. ## Recommendation Update to version 4.17.5 or later.
Affected packages (3)
- Debian/node-lodashfrom 0, < 4.17.11+dfsg-1
- npm/lodashfrom 0, < 4.17.5
- RubyGems/lodash-railsfrom 0, < 4.17.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-3721
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-3721
- WEBhttps://github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml
- WEBhttps://hackerone.com/reports/310443
- WEBhttps://security.netapp.com/advisory/ntap-20190919-0004