{
    "CVE_data_meta": {
        "ASSIGNER": "cve-request@iojs.org",
        "DATE_PUBLIC": "2018-08-12T00:00:00",
        "ID": "CVE-2018-7166",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Node.js",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions of Node.js 10 prior to 10.9.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "The Node.js Project"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause `Buffer.alloc()` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying `encoding` can be passed as a number, this is misinterpreted by `Buffer's` internal \"fill\" method as the `start` to a fill operation. This flaw may be abused where `Buffer.alloc()` arguments are derived from user input to return uncleared memory blocks that may contain sensitive information."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-226: Sensitive Information Uncleared Before Release"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2018:2553",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2553"
            },
            {
                "name": "https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/",
                "refsource": "CONFIRM",
                "url": "https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/"
            }
        ]
    }
}