{"id":"CVE-2021-4229","published":"2022-05-24T15:30:35Z","modified":"2025-04-15T14:38:30Z","title":"ua-parser-js Crypto Mining backdoor","vendor":"unspecified","product":"ua-parser-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01518,"percentile":0.75175,"provenance":"source"},"cwes":[{"id":"CWE-912","name":"Hidden Functionality"}],"references":[{"url":"https://github.com/advisories/GHSA-pjwm-rvh2-c87w","tags":["x_refsource_MISC"]},{"url":"https://github.com/faisalman/ua-parser-js/issues/536","tags":["x_refsource_MISC"]},{"url":"https://vuldb.com/?id.185453","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":15.04},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"unspecified","affectedVersions":[{"vendor":"unspecified","product":"ua-parser-js","versions":["0.7.29","0.8.0","1.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T17:14:48.297471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ua-parser-js","vulnerableRanges":[">=0.7.29, <0.7.30",">=0.8.0, <0.8.1",">=1.0.0, <1.0.1"],"patched":["0.7.30","0.8.1","1.0.1"],"from":["GHSA-pjwm-rvh2-c87w"],"provenance":"source"}],"summary":{"text":"The ua-parser-js npm package contains a crypto-mining backdoor, a hidden malicious component embedded in the library's code. An attacker can gain a foothold through a network-reachable path that requires a user to take action, with the attack complexity noted as high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:01Z"},"euvd":{"id":"EUVD-2021-34087","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7733","published":"2020-09-16","fixed":"0.7.22","kev":false},{"cve":"CVE-2020-7793","published":"2020-12-11","fixed":"0.7.23","kev":false},{"cve":"CVE-2021-27292","published":"2021-03-17","fixed":"0.7.24","kev":false},{"cve":"CVE-2021-4229","published":"2022-05-24","fixed":"1.0.1","kev":false},{"cve":"CVE-2022-25927","published":"2023-01-25","fixed":"1.0.33","kev":false,"link":{"from":"CVE-2021-4229","to":"CVE-2022-25927","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ua-parser-js","fromFixed":"0.7.30","toFixed":"0.7.33","daysApart":246},{"kind":"version-step","provenance":"source","package":"npm:ua-parser-js","fromFixed":"1.0.1","toFixed":"1.0.33","daysApart":246}]}},{"cve":"CVE-2026-48125","published":"2026-07-14","fixed":"2.0.10","kev":false}],"package":"npm:ua-parser-js"}}