{"schemaVersion":3,"id":"CVE-2018-3728","aliases":["UBUNTU-CVE-2018-3728","DEBIAN-CVE-2018-3728","GHSA-jp4x-w63m-7wgm"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-03-30T19:00:00.000Z","modified":"2024-08-05T04:50:30.655Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.0419,"percentile":0.90824,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0419},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0419,"percentile":0.90824}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0419,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0419,"percentile":0.90824}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_38AA12437C0B8136","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/310439","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_8693DC202E674FE7","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/npm:hoek:20180212","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-471","name":"Modification of Assumed-Immutable Data (MAID)","description":"The product does not properly protect an assumed-immutable element from being modified by an attacker.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/471.html"}],"affected":[{"vendor":"debian","product":"node-hoek","name":"node-hoek","label":"node-hoek","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-hoek","purlType":"deb","versions":[{"text":"< 5.0.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-hoek","name":"node-hoek","label":"node-hoek","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-hoek","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hapi","product":"hoek node module","name":"hoek node module","label":"hoek node module","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Versions before 5.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"Versions before 5.0.3","eol":null,"hubHref":"/vendor/hapi/hoek_node_module"},{"vendor":"hapijs","product":"hoek","name":"hoek","label":"hoek","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.2.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.0 | ≥ 5.0.0, < 5.0.3","eol":null,"hubHref":"/vendor/hapijs/hoek"},{"vendor":"Npm","product":"hoek","name":"hoek","label":"hoek","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/hoek","purlType":"npm","versions":[{"text":"≥ 5.0.0, < 5.0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 4.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.0.3 | < 4.2.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","label":"github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB"]},{"url":"https://hackerone.com/reports/310439","label":"hackerone.com/reports/310439","hostname":"hackerone.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/103108","label":"www.securityfocus.com/bid/103108","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1264","label":"access.redhat.com/errata/RHSA-2018:1264","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1263","label":"access.redhat.com/errata/RHSA-2018:1263","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","WEB"]},{"url":"https://snyk.io/vuln/npm:hoek:20180212","label":"snyk.io/vuln/npm:hoek:20180212","hostname":"snyk.io","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory","REPORT","WEB"]},{"url":"https://nodesecurity.io/advisories/566","label":"nodesecurity.io/advisories/566","hostname":"nodesecurity.io","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"https://ubuntu.com/security/CVE-2018-3728","label":"ubuntu.com/security/CVE-2018-3728","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3728","label":"www.cve.org/CVERecord?id=CVE-2018-3728","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-3728","label":"security-tracker.debian.org/tracker/CVE-2018-3728","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3728","label":"nvd.nist.gov/vuln/detail/CVE-2018-3728","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df","label":"github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/hapijs/hoek","label":"github.com/hapijs/hoek","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108","label":"web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108","hostname":"web.archive.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2018:1263"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-03-30T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T04:50:30.655Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:05:50.224Z","stale":false,"partial":false}}