VDB

CVE-2018-3728

CVE-2018-3728 PUBLISHED CVSS 8.800000190734863 HIGH

Prototype Pollution in hoek

Reported by hackerone · Published March 30, 2018

hoek is fixed in 5.0.3 and 4.2.1 (npm)

hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' 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
hoeknpm5.0.3, 4.2.1
hoekhapijs5.0.3, 4.2.0

Risk scores

CVSS 3.0
8.800000190734863
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
hapihoek node moduleVersions before 5.0.3
hapijshoek
npmhoek5.0.0, 0
hapihoek node module5.0.3

Timeline

  • Feb 13, 2018 PoC Published
  • Mar 30, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (3 in total, the first dated here)
  • Sep 20, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-3728
vulnetix vdb fixes CVE-2018-3728

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-3728/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 ›