CVE-2021-4229
HIGH 8.8CVSS 3.1Embedded malware in ua-parser-js
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.
- Published
- 24 May 2022
- Last modified
- 15 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-506CWE-829CWE-912
- Also known as
- GHSA-pjwm-rvh2-c87w
- Sources
- NVDJSONOSV GHSA-pjwm-rvh2-c87wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.6 | AV:N/AC:H/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ua-parser-js_project | ua-parser-jscpe:2.3:a:ua-parser-js_project:ua-parser-js:0.7.29:*:*:*:*:node.js:*:* |
= 0.7.29 | |
| NVD | ua-parser-js_project | ua-parser-jscpe:2.3:a:ua-parser-js_project:ua-parser-js:0.8.0:*:*:*:*:node.js:*:* |
= 0.8.0 | |
| NVD | ua-parser-js_project | ua-parser-jscpe:2.3:a:ua-parser-js_project:ua-parser-js:1.0.0:*:*:*:*:node.js:*:* |
= 1.0.0 | |
| OSV | npm | ua-parser-js | >= 0.7.29, < 0.7.30 | 0.7.30 |
| OSV | npm | ua-parser-js | >= 0.8.0, < 0.8.1 | 0.8.1 |
| OSV | npm | ua-parser-js | >= 1.0.0, < 1.0.1 | 1.0.1 |
References
- https://github.com/advisories/GHSA-pjwm-rvh2-c87w · Third Party Advisory
- https://github.com/faisalman/ua-parser-js/issues/536 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://vuldb.com/?id.185453 · Third Party Advisory, VDB Entry
- https://github.com/faisalman/ua-parser-js/issues/536#issuecomment-949772496 · WEB
- https://github.com/faisalman/ua-parser-js · PACKAGE
- https://www.npmjs.com/package/ua-parser-js · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 May 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2021)