Skip to content
Fencer Vulns
medium 5.0

CVE-2021-4229 json

ua-parser-js Crypto Mining backdoor

published 2021-10-22 5 y ago modified 2026-07-15 3 mo 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

  • npm ua-parser-js 0.7.30, 0.8.1, 1.0.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Weakness
  • CWE-912 Hidden Functionality
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere
  • CWE-506 Embedded Malicious Code

References

Sources

Fencer Vulns 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.