{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-30502",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The unofficial vscode-ghc-simple (aka Simple Glasgow Haskell Compiler) extension before 0.2.3 for Visual Studio Code allows remote code execution via a crafted workspace configuration with replCommand."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/dramforever/vscode-ghc-simple/releases",
                "refsource": "MISC",
                "name": "https://github.com/dramforever/vscode-ghc-simple/releases"
            },
            {
                "refsource": "MISC",
                "name": "https://vuln.ryotak.me/advisories/38",
                "url": "https://vuln.ryotak.me/advisories/38"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023",
                "url": "https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46",
                "url": "https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46"
            }
        ]
    }
}