CVE-2021-4229 json
ua-parser-js Crypto Mining backdoor
published 5y ago modified 3mo ago also GHSA-pjwm-rvh2-c87w , EUVD-2021-34087
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2021-4229 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.6 | AV:N/AC:H/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ua-parser-js | >=0.7.29, <0.7.30 >=0.8.0, <0.8.1 >=1.0.0, <1.0.1 |
0.7.30 0.8.1 1.0.1 |
Affected products
- unspecified ua-parser-js
Classification
References
-
github.com
/faisalman/ua-parser-js/issues/536
web, issue-tracking, patch, third-party-advisory
-
github.com
/advisories/GHSA-pjwm-rvh2-c87w
third-party-advisory
-
vuldb.com
/?id.185453
third-party-advisory, vdb-entry
-
github.com
/faisalman/ua-parser-js/issues/536#issuecomment-949772496
web
-
github.com
/faisalman/ua-parser-js
package
-
npmjs.com
/package/ua-parser-js
web
Sources
- CVE List CVE-2021-4229
- GitHub Advisory GHSA-pjwm-rvh2-c87w
- NVD CVE-2021-4229
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.