Vulnerability · Published May 24, 2022 · Assigned by VulDB
CVE-2021-4229ua-parser-js Crypto Mining backdoor
Medium 5.0
In plain English
A medium-severity security flaw in ua-parser-js from unspecified. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)1.5%top 25.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ua-parser-js | 0.7.30 | GHSA-pjwm-rvh2-c87w |
| npm | ua-parser-js | 0.8.1 | GHSA-pjwm-rvh2-c87w |
| npm | ua-parser-js | 1.0.1 | GHSA-pjwm-rvh2-c87w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| unspecified | ua-parser-js | 0.7.290.8.01.0.0 |
Weakness: CWE-912 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/advisories/GHSA-pjwm-rvh2-c87w x_refsource_MISC
- https://github.com/faisalman/ua-parser-js/issues/536 x_refsource_MISC
- https://vuldb.com/?id.185453 x_refsource_MISC