Skip to content
Fencer Vulns
high 8.8

CVE-2018-3728 json

Prototype Pollution in hoek

published 2018-03-30 8 y ago modified 2026-06-17 4 mo ago also GHSA-jp4x-w63m-7wgm , EUVD-2018-0190

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.2%
EPSS 4.2% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm hoek 4.2.1, 5.0.3
  • hapijs hoek 4.2.0, 5.0.3
  • node-hoek Debian 14, Debian 13, Debian 12 5.0.3-1

debian advisories DEBIAN-CVE-2018-3728

  • fping mobile application platform 4.6 3.10-4.el7map
  • qstat mobile application platform 4.6 2.11-13.20080912svn311.el7map
  • redis mobile application platform 4.6 2.8.21-2.el7map
  • ssmtp mobile application platform 4.6 2.64-14.el7map
  • nagios mobile application platform 4.6 4.0.8-8.el7map
  • phantomjs mobile application platform 4.6 1.9.7-3.el7map
  • sendEmail mobile application platform 4.6 1.56-2.el7
  • supervisor mobile application platform 4.6 3.1.3-3.el7map

red hat advisories RHSA-2018:1263

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-3728 updated cvss 2.9

hoek: Prototype pollution in utilities function

  • Red Hat Enterprise Linux 8 nodejs-hoek Red Hat OpenShift Enterprise 3 nodejs-hoek Red Hat Software Collections rh-nodejs4-nodejs-hoek, rh-nodejs6-nodejs-hoek
    affected: no fix planned “Will not fix”
  • Red Hat Quay v3 quay/quay-rhel8 v3.6.0-62
    fixed: vendor fix RHSA-2021:3917
  • Red Hat Mobile Application Platform 4.6 fping 3.10-4.el7map, rhmap46/httpd 2.4-47, rhmap46/mysql 5.5-28, sendEmail 1.56-2.el7, ssmtp 2.64-14.el7map, nagios 4.0.8-8.el7map, +89 more
    fixed: vendor fix RHSA-2018:1263
  • Red Hat Quay v3 quay/clair-rhel8 v3.6.0-70, quay/quay-builder-rhel8 v3.6.0-44, quay/quay-operator-rhel8 v3.6.0-43, quay/quay-operator-bundle v3.6.0-48, quay/quay-bridge-operator-rhel8 v3.6.0-40, quay/quay-bridge-operator-bundle v3.6.0-35, +3 more Red Hat Virtualization 4 ovirt-engine-dashboard, ovirt-engine-api-explorer, ovirt-engine-ui-extensions
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.19% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/vuln/npm:hoek:20180212 referenced PoC, tagged "exploit" by a source, unverified
  • hackerone.com https://hackerone.com/reports/310439 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm hoek
>=5.0.0, <5.0.3
<4.2.1
5.0.3
4.2.1

Affected products

  • hapi hoek node module

Classification

Weakness
  • CWE-471 Modification of Assumed-Immutable Data (MAID)
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.