{
    "CVE_data_meta": {
        "ASSIGNER": "josh@bress.net",
        "ID": "CVE-2017-1001004",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "typed-function",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "0.10.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "typed-function"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "typed-function before 0.10.6 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-94: Improper Control of Generation of Code ('Code Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe",
                "refsource": "CONFIRM",
                "url": "https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"
            },
            {
                "name": "https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106",
                "refsource": "CONFIRM",
                "url": "https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106"
            }
        ]
    }
}