{"api_version":"1","generated_at":"2026-04-22T19:58:24+00:00","cve":"CVE-2018-3728","urls":{"html":"https://cve.report/CVE-2018-3728","api":"https://cve.report/api/cve/CVE-2018-3728.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-3728","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-3728"},"summary":{"title":"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.","state":"PUBLIC","assigner":"support@hackerone.com","published_at":"2018-03-30 19:29:00","updated_at":"2019-10-09 23:40:00"},"problem_types":["CWE-471"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/103108","name":"103108","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","name":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"skip assignment to __proto__ · hapijs/hoek@32ed5c9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1264","name":"RHSA-2018:1264","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/npm:hoek:20180212","name":"https://snyk.io/vuln/npm:hoek:20180212","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory"],"title":"Prototype Pollution in hoek | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1263","name":"RHSA-2018:1263","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/310439","name":"https://hackerone.com/reports/310439","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://nodesecurity.io/advisories/566","name":"https://nodesecurity.io/advisories/566","refsource":"CONFIRM","tags":["Broken Link"],"title":"Overview","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3728","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3728","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"3728","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"hapijs","cpe5":"hoek","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"3728","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"hapijs","cpe5":"hoek","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-3728","qid":"983993","title":"Nodejs (npm) Security Update for hoek (GHSA-jp4x-w63m-7wgm)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2018-3728","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"hoek node module","version":{"version_data":[{"version_value":"Versions before 5.0.3"}]}}]},"vendor_name":"hapi"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Modification of Assumed-Immutable Data (MAID) (CWE-471)"}]}]},"references":{"reference_data":[{"name":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee","refsource":"CONFIRM","url":"https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee"},{"name":"https://hackerone.com/reports/310439","refsource":"MISC","url":"https://hackerone.com/reports/310439"},{"name":"103108","refsource":"BID","url":"http://www.securityfocus.com/bid/103108"},{"name":"RHSA-2018:1264","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1264"},{"name":"RHSA-2018:1263","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1263"},{"name":"https://snyk.io/vuln/npm:hoek:20180212","refsource":"MISC","url":"https://snyk.io/vuln/npm:hoek:20180212"},{"name":"https://nodesecurity.io/advisories/566","refsource":"CONFIRM","url":"https://nodesecurity.io/advisories/566"}]}},"nvd":{"publishedDate":"2018-03-30 19:29:00","lastModifiedDate":"2019-10-09 23:40:00","problem_types":["CWE-471"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hapijs:hoek:*:*:*:*:*:node.js:*:*","versionEndExcluding":"4.2.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hapijs:hoek:*:*:*:*:*:node.js:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"3728","Ordinal":"119555","Title":"CVE-2018-3728","CVE":"CVE-2018-3728","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"3728","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"3728","Ordinal":"2","NoteData":"2018-03-30","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"3728","Ordinal":"3","NoteData":"2018-05-02","Type":"Other","Title":"Modified"}]}}}