{
    "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"
            }
        ]
    }
}