Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ua-parser-js
  4. ›
  5. CVE-2021-4229

CVE-2021-4229: Inclusion of Functionality from Untrusted Control Sphere

May 24, 2022 (updated June 6, 2022)

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.

References

  • github.com/advisories/GHSA-pjwm-rvh2-c87w
  • github.com/faisalman/ua-parser-js/issues/536
  • nvd.nist.gov/vuln/detail/CVE-2021-4229
  • vuldb.com/?id.185453

Code Behaviors & Features

Detect and mitigate CVE-2021-4229 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.0.0, version 0.8.0, version 0.7.29

Fixed versions

  • 0.7.30
  • 0.8.1
  • 1.0.1

Solution

Upgrade to versions 0.7.30, 0.8.1, 1.0.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/ua-parser-js/CVE-2021-4229.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.