{"api_version":"1","generated_at":"2026-04-23T18:34:45+00:00","cve":"CVE-2021-4229","urls":{"html":"https://cve.report/CVE-2021-4229","api":"https://cve.report/api/cve/CVE-2021-4229.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4229","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4229"},"summary":{"title":"CVE-2021-4229","description":"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.","state":"PUBLIC","assigner":"cna@vuldb.com","published_at":"2022-05-24 16:15:00","updated_at":"2022-06-06 14:23:00"},"problem_types":["CWE-829"],"metrics":[],"references":[{"url":"https://vuldb.com/?id.185453","name":"https://vuldb.com/?id.185453","refsource":"MISC","tags":[],"title":"CVE-2021-4229 | ua-parser-js Crypto Mining backdoor (GHSA-pjwm-rvh2-c87w)","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/faisalman/ua-parser-js/issues/536","name":"https://github.com/faisalman/ua-parser-js/issues/536","refsource":"MISC","tags":[],"title":"Security issue: compromised npm packages of ua-parser-js (0.7.29, 0.8.0, 1.0.0) - Questions about deprecated npm package ua-parser-js · Issue #536 · faisalman/ua-parser-js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/advisories/GHSA-pjwm-rvh2-c87w","name":"https://github.com/advisories/GHSA-pjwm-rvh2-c87w","refsource":"MISC","tags":[],"title":"Embedded malware in ua-parser-js · GHSA-pjwm-rvh2-c87w · GitHub Advisory Database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4229","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4229","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ua-parser-js_project","cpe5":"ua-parser-js","cpe6":"0.7.29","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ua-parser-js_project","cpe5":"ua-parser-js","cpe6":"0.8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ua-parser-js_project","cpe5":"ua-parser-js","cpe6":"1.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}]}},"nvd":{"publishedDate":"2022-05-24 16:15:00","lastModifiedDate":"2022-06-06 14:23:00","problem_types":["CWE-829"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.6},"severity":"HIGH","exploitabilityScore":4.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:1.0.0:*:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.8.0:*:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.7.29:*:*:*:*:node.js:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}