GHSA-pjwm-rvh2-c87w

Suggest an improvement
Source
https://github.com/advisories/GHSA-pjwm-rvh2-c87w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pjwm-rvh2-c87w/GHSA-pjwm-rvh2-c87w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pjwm-rvh2-c87w
Aliases
  • CVE-2021-4229
Published
2021-10-22T20:38:14Z
Modified
2026-05-04T08:45:52.916927192Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Embedded malware in ua-parser-js
Details

The npm package ua-parser-js had three versions published with malicious code. Users of affected versions (0.7.29, 0.8.0, 1.0.0) should upgrade as soon as possible and check their systems for suspicious activity. See this issue for details as they unfold.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-829",
        "CWE-912"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-10-22T20:37:42Z"
}
References

Affected packages

npm / ua-parser-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.7.29
Fixed
0.7.30

Affected versions

0.*
0.7.29

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pjwm-rvh2-c87w/GHSA-pjwm-rvh2-c87w.json"

npm / ua-parser-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.8.0
Fixed
0.8.1

Affected versions

0.*
0.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pjwm-rvh2-c87w/GHSA-pjwm-rvh2-c87w.json"

npm / ua-parser-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.0.1

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pjwm-rvh2-c87w/GHSA-pjwm-rvh2-c87w.json"