VDB

CVE-2018-3721

CVE-2018-3721 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
lodash-railsRubyGems4.17.5
lodashnpm4.17.5

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
HackerOnelodash node moduleVersions before 4.17.5
RubyGemslodash-rails0
HackerOnelodash node module4.17.5
npmlodash0
lodashlodash

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›