{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-3728","id":"CVE-2018-3728","title":"Prototype Pollution in hoek","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.","descriptionLong":"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.","published":"2018-03-30T19:00:00.000Z","updated":"2026-10-20T10:50:27.724856249Z","reserved":"2017-12-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["hapi hoek node module"],"affectedProducts":[{"vendor":"hapi","product":"hoek node module","defaultStatus":null,"versions":[{"status":"affected","version":"Versions before 5.0.3"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"hoek","purl":"pkg:npm/hoek","ranges":[">=5.0.0 <5.0.3","<4.2.1"],"fixed":["5.0.3","4.2.1"],"advisory":"GHSA-jp4x-w63m-7wgm"}],"cwes":["CWE-471","CWE-1321"],"aliases":["GHSA-jp4x-w63m-7wgm"],"references":[{"url":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://hackerone.com/reports/310439","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"http://www.securityfocus.com/bid/103108","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1264","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1263","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/npm:hoek:20180212","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nodesecurity.io/advisories/566","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3728","tags":["advisory"]},{"url":"https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df","tags":["web"]},{"url":"https://github.com/hapijs/hoek","tags":["package"]},{"url":"https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0419,"epssPercentile":0.91129,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-3728","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3728","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-3728","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jp4x-w63m-7wgm","ok":true,"note":"GHSA-jp4x-w63m-7wgm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-3728","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}