CVE-2018-3721
Prototype Pollution in lodash
Reported by hackerone · Published June 7, 2018
lodash-rails is fixed in 4.17.5 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| lodash-rails | RubyGems | 4.17.5 |
| lodash | npm | 4.17.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | lodash node module | Versions before 4.17.5 |
| RubyGems | lodash-rails | 0 |
| HackerOne | lodash node module | 4.17.5 |
| npm | lodash | 0 |
| lodash | lodash |
Timeline
- Feb 13, 2018 PoC Published
- Jun 7, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory
- Sep 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-3721
vulnetix vdb fixes CVE-2018-3721
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-3721/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-3721 advisory
- https://github.com/advisories/GHSA-fvqr-27wr-82fm advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml advisory
- https://security.netapp.com/advisory/ntap-20190919-0004 advisory