GitHub Advisoryadvisory · npm

GHSA-x87g-rgrh-r6g3 Malicious Package in rpc-websocket

CRITICAL Published 2020-09-03 Modified 2021-09-30 Official page ↗
Ecosystem
npm
Packages
rpc-websocket
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-506
Reviewed
2020-08-31

Affected packages

• npm rpc-websocket: >= 0.7.7 (no fix yet)

Description

Versions of `rpc-websocket` >= 0.7.6 contained malicious code. The package opens a backdoor to a remote server and executes arbitrary commands, effectively acting as a backdoor. Recommendation Any computer that has these versions of the 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.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References