{
    "CVE_data_meta": {
        "ASSIGNER": "cve-assign@fb.com",
        "DATE_ASSIGNED": "2018-08-24",
        "ID": "CVE-2018-6342",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "react-dev-utils",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "!=>",
                                            "version_value": "5.0.2"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "5.0.0"
                                        },
                                        {
                                            "version_affected": "!=>",
                                            "version_value": "4.2.2"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.0.0"
                                        },
                                        {
                                            "version_affected": "!=>",
                                            "version_value": "3.1.2"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "3.0.0"
                                        },
                                        {
                                            "version_affected": "!=>",
                                            "version_value": "2.0.2"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "2.0.0"
                                        },
                                        {
                                            "version_affected": "!=>",
                                            "version_value": "1.0.4"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "1.0.0"
                                        },
                                        {
                                            "version_affected": "!<",
                                            "version_value": "1.0.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Facebook"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "react-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system. This issue affects multiple branches: 1.x.x prior to 1.0.4, 2.x.x prior to 2.0.2, 3.x.x prior to 3.1.2, 4.x.x prior to 4.2.2, and 5.x.x prior to 5.0.2."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Neutralization of Special Elements used in an OS Command (CWE-78)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/facebook/create-react-app/releases/tag/v1.1.5",
                "refsource": "MISC",
                "url": "https://github.com/facebook/create-react-app/releases/tag/v1.1.5"
            },
            {
                "name": "https://github.com/facebook/create-react-app/pull/4866",
                "refsource": "MISC",
                "url": "https://github.com/facebook/create-react-app/pull/4866"
            }
        ]
    }
}