# CVE-2018-3728

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-03-30 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-3728, DEBIAN-CVE-2018-3728, GHSA-jp4x-w63m-7wgm
- Record: https://cvemate.com/vulnerability/CVE-2018-3728 · JSON: https://cvemate.com/vulnerability/CVE-2018-3728/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.19%, percentile 91.217%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- debian node-hoek (Debian): \< 5.0.3-1
- ubuntu node-hoek (Ubuntu): All versions (No fix recorded)
- hapi hoek node module: Versions before 5.0.3
- hapijs hoek: \< 4.2.0 \| ≥ 5.0.0, \< 5.0.3
- Npm hoek (Npm): ≥ 5.0.0, \< 5.0.3 \| \< 4.2.1

## References

- <https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee>
- <https://hackerone.com/reports/310439>
- <http://www.securityfocus.com/bid/103108>
- <https://access.redhat.com/errata/RHSA-2018:1264>
- <https://access.redhat.com/errata/RHSA-2018:1263>
- <https://snyk.io/vuln/npm:hoek:20180212>
- <https://nodesecurity.io/advisories/566>
- <https://ubuntu.com/security/CVE-2018-3728>
- <https://www.cve.org/CVERecord?id=CVE-2018-3728>
- <https://security-tracker.debian.org/tracker/CVE-2018-3728>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-3728>
- <https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df>
- <https://github.com/hapijs/hoek>
- <https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108>

---

Data as of 2026-12-05T06:48:11.089Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
