GHSA-49c6-3wr4-8jr4 Malicious Package in malicious-npm-package

Not scored Published

Malicious npm package executes remote PowerShell commands on Windows, granting attackers full system control upon installation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is GHSA-49c6-3wr4-8jr4?

GHSA-49c6-3wr4-8jr4 is a vulnerability in malicious-npm-package, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

All versions of malicious-npm-package contain malicious code. The malware targets Windows systems. It runs a powershell command that downloads an executable file from a remote server and runs it.

Recommendation

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.

Which versions are affected by GHSA-49c6-3wr4-8jr4?

2 open source packages ship an affected version, including malicious-npm-package.

PackageAffectedFixed in
malicious-npm-package npmFrom 0.0.0None
malicious-npm-package npmFrom 0.0.0None

How do I fix GHSA-49c6-3wr4-8jr4?

No fix has been published for GHSA-49c6-3wr4-8jr4 yet. Limit exposure of the affected software until one is available.

Is GHSA-49c6-3wr4-8jr4 being exploited?

There is no known exploitation of GHSA-49c6-3wr4-8jr4 in the wild and no public exploit code.

Sources

Is GHSA-49c6-3wr4-8jr4 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free