CVE-2018-3728

Description

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.

Severity
HIGH
CVSS v3
8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
4.190%
chance of exploitation in the next 30 days
higher than 91.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2018-03-30Published by the CNA19:00 UTC
  2. 2018-04-26GitHub advisory published (GHSA-jp4x-w63m-7wgm)27 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-jp4x-w63m-7wgm, affected packages:

PackageVulnerable versionsFixed in
npm hoekbefore 4.2.14.2.1
npm hoekfrom 5.0.0 before 5.0.35.0.3

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
hapijs hoekbefore 4.2.0fixed in 4.2.0from 5.0.0 before 5.0.3fixed in 5.0.34.2.05.0.3

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources