CVE-2018-3728: hapi hoek node module
Vulnerability summary
CVE-2018-3728 is a high (CVSS 8.8) vulnerability in hapi hoek node module. EPSS estimates a 4.19% chance of exploitation in the next 30 days, higher than 90.8% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 30-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.19%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (hackerone.com)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- node-hoek< 5.0.3-1
Hapi1 product
- hoek node moduleVersions before 5.0.3
Hapijs1 product
- hoek< 4.2.0 | ≥ 5.0.0, < 5.0.3
Npm1 product
- hoek≥ 5.0.0, < 5.0.3 | < 4.2.1
Ubuntu1 product
- node-hoekAll versions (No fix recorded)
5 vendors · 5 products
References
14 links- github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786deeX Refsource CONFIRMPatchThird Party AdvisoryWEB