{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2020-7616",
        "ASSIGNER": "report@snyk.io",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "express-mock-middleware",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions including 0.0.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Prototype Pollution"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120",
                "url": "https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39",
                "url": "https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk."
            }
        ]
    }
}