VDB
KO
HIGH 8.8

GHSA-pjwm-rvh2-c87w

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](https://github.com/faisalman/ua-parser-js/issues/536) 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ua-parser-js
Introduced in: 0.7.29 Fixed in: 0.7.30
Fix npm install ua-parser-js@0.7.30
npm / ua-parser-js
Introduced in: 0.8.0 Fixed in: 0.8.1
Fix npm install ua-parser-js@0.8.1
npm / ua-parser-js
Introduced in: 1.0.0 Fixed in: 1.0.1
Fix npm install ua-parser-js@1.0.1

References