{"id":"GHSA-pjwm-rvh2-c87w","revision":null,"records":[{"revision":"412f1b252ddf4a53832523dceccda9ff","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-4229","aliases":[],"title":"ua-parser-js Crypto Mining backdoor","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":0,"publishedAt":"2022-05-24T15:30:35+00:00","modifiedAt":"2025-04-15T14:38:30.138+00:00","affected":[{"ecosystem":"Vendor product","name":"ua-parser-js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"ua-parser-js\",\n                    \"vendor\": \"unspecified\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.7.29\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.8.0\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"1.0.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"severity":"MEDIUM"}],"references":["https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://github.com/faisalman/ua-parser-js/issues/536","https://vuldb.com/?id.185453"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-4229","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-4229","identifiers":["CVE-2021-4229"]},"retained":false,"historicalAffected":[]},{"revision":"747d9776ff5746b0b445765ee47115f3","observedAt":"2026-11-24T04:26:47.347+00:00","statement":{"source":"euvd","id":"EUVD-2021-34087","aliases":["CVE-2021-4229","GHSA-236c-vhj4-gfxg"],"title":"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 is…","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":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"severity":null}],"references":["https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://github.com/faisalman/ua-parser-js/issues/536","https://vuldb.com/?id.185453"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-34087","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 24, 2022, 3:30:35 PM","dateUpdated":"Apr 15, 2025, 2:38:30 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-34087","identifiers":["EUVD-2021-34087","CVE-2021-4229","GHSA-236c-vhj4-gfxg"]},"retained":false,"historicalAffected":[]},{"revision":"29b7a108e22c4533939c9c083464b8f8","observedAt":"2026-10-24T19:17:31.277+00:00","statement":{"source":"nvd","id":"CVE-2021-4229","aliases":[],"title":"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 is…","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":0,"publishedAt":"2022-05-24T16:15:07.68+00:00","modifiedAt":"2026-06-17T04:19:18.677+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · cna@vuldb.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","score":7.6,"severity":"HIGH"}],"references":["https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://github.com/faisalman/ua-parser-js/issues/536","https://vuldb.com/?id.185453"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-4229","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-912","CWE-829"],"productCriteria":["cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.7.29:*:*:*:*:node.js:*:*","cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.8.0:*:*:*:*:node.js:*:*","cpe:2.3:a:ua-parser-js_project:ua-parser-js:1.0.0:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2022-05-24T16:15:07.680","lastModified":"2026-06-17T04:19:18.677"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-4229","identifiers":["CVE-2021-4229"]},"retained":false,"historicalAffected":[]},{"revision":"fff50fafb2df4318b31f8174a6ff8b08","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-236c-vhj4-gfxg","aliases":[],"title":"Duplicate Advisory: Embedded malware in ua-parser-js","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-pjwm-rvh2-c87w. This link is maintained to preserve external references.\n\n### Original Description\nA 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":2,"publishedAt":"2022-05-25T00:00:31+00:00","modifiedAt":"2026-02-22T22:59:47.461948+00:00","affected":[{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.29"},{"kind":"fixed","version":"0.7.30"}]}],"versions":["0.7.29"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.1"}]}],"versions":["0.8.0"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.0.1"}]}],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4229","https://github.com/faisalman/ua-parser-js/issues/536","https://github.com/advisories/GHSA-pjwm-rvh2-c87w","https://vuldb.com/?id.185453"],"sourceUrl":"https://github.com/advisories/GHSA-236c-vhj4-gfxg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-236c-vhj4-gfxg","identifiers":["GHSA-236c-vhj4-gfxg"]},"retained":false,"historicalAffected":[]},{"revision":"fd484edd43ec44e898fa5115b0390571","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-pjwm-rvh2-c87w","aliases":["CVE-2021-4229"],"title":"Embedded malware in ua-parser-js","description":"The npm package `ua-parser-js` had three versions published with malicious code. Users of affected versions (0.7.29, 0.8.0, 1.0.0) should upgrade as soon as possible and check their systems for suspicious activity. See [this issue](https://github.com/faisalman/ua-parser-js/issues/536) for details as they unfold.\n\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.","state":0,"publishedAt":"2021-10-22T20:38:14+00:00","modifiedAt":"2026-07-15T22:30:43.0458538+00:00","affected":[{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.29"},{"kind":"fixed","version":"0.7.30"}]}],"versions":["0.7.29"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.1"}]}],"versions":["0.8.0"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"ua-parser-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.0.1"}]}],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/faisalman/ua-parser-js/issues/536","https://github.com/faisalman/ua-parser-js/issues/536#issuecomment-949772496","https://github.com/faisalman/ua-parser-js","https://www.npmjs.com/package/ua-parser-js"],"sourceUrl":"https://github.com/advisories/GHSA-pjwm-rvh2-c87w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pjwm-rvh2-c87w","identifiers":["GHSA-pjwm-rvh2-c87w","CVE-2021-4229"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T17:04:47.4804714+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T17:04:47.4804714+00:00","lastSuccessAt":"2026-11-24T17:04:47.6742368+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.6742385+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-600ce772becc1d4ce622308dbd2b60df9622c5340b4a45800efcea2e9c73189d","complete":true,"records":431393,"lastAttemptAt":"2026-11-24T17:02:23.9676922+00:00","lastSuccessAt":"2026-11-24T17:02:23.6943427+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:02:23.9676922+00:00","snapshotPublishedAt":"2026-11-24T16:25:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e33d6231e5014c9fb4c048fd9d76b130","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T17:06:18.5007375+00:00","lastSuccessAt":"2026-11-24T17:06:18.494+00:00","error":"154 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T17:06:18.494+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13817,"expectedIdentifiers":13982,"failedIdentifiers":154},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T17:04:47.4804714+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T17:04:47.4804714+00:00","lastSuccessAt":"2026-11-24T17:04:47.7024421+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.7024437+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7946001d36624d7b8f9f79d54c1473cb","complete":true,"records":13947,"lastAttemptAt":"2026-11-24T17:05:41.339011+00:00","lastSuccessAt":"2026-11-24T17:05:41.334+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:05:41.334+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13982,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T17:04:47.3038695+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.3038695+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T17:02:24.140762+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:02:24.140762+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T17:04:47.4072828+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.4072828+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6f12e8b79470b8fce62bb9feb9da5ef52ddc12ae517dd075bd2ea4ca7dc38907","complete":true,"records":233023,"lastAttemptAt":"2026-11-24T17:04:47.1769968+00:00","lastSuccessAt":"2026-11-24T17:04:45.9179734+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.1769968+00:00","snapshotPublishedAt":"2026-11-24T16:34:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}