VDB
Sign up
HIGH8.8

GHSA-pjwm-rvh2-c87w

Embedded malware in ua-parser-js

Quick fix

GHSA-pjwm-rvh2-c87w — ua-parser-js: upgrade to the fixed version with the command below.

npm install ua-parser-js@0.7.30

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.29Fixed in: 0.7.30
Fixnpm install ua-parser-js@0.7.30
npm/ua-parser-js
Introduced in: 0.8.0Fixed in: 0.8.1
Fixnpm install ua-parser-js@0.8.1
npm/ua-parser-js
Introduced in: 1.0.0Fixed in: 1.0.1
Fixnpm install ua-parser-js@1.0.1

References