{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-4229",
        "TITLE": "ua-parser-js Crypto Mining backdoor",
        "REQUESTER": "cna@vuldb.com",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "generator": "vuldb.com",
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ua-parser-js",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "0.7.29"
                                        },
                                        {
                                            "version_value": "0.8.0"
                                        },
                                        {
                                            "version_value": "1.0.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-912 Backdoor"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability was found in ua-parser-js 0.7.29/0.8.0/1.0.0. It has been rated as critical. This issue affects the crypto mining component which introduces a backdoor. Upgrading to version 0.7.30, 0.8.1 and 1.0.1 is able to address this issue. It is recommended to upgrade the affected component."
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "baseScore": "5.0",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/advisories/GHSA-pjwm-rvh2-c87w",
                "refsource": "MISC",
                "name": "https://github.com/advisories/GHSA-pjwm-rvh2-c87w"
            },
            {
                "url": "https://github.com/faisalman/ua-parser-js/issues/536",
                "refsource": "MISC",
                "name": "https://github.com/faisalman/ua-parser-js/issues/536"
            },
            {
                "url": "https://vuldb.com/?id.185453",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.185453"
            }
        ]
    }
}