GHSA-jf8x-wg7f-p3w8 Malicious Package in cage-js

Not scored Published

Malicious code in cage-js executes remote scripts during installation, compromising the host system and requiring immediate secret rotation.

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-jf8x-wg7f-p3w8?

GHSA-jf8x-wg7f-p3w8 is a vulnerability in cage-js, published on 3 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 cage-js contains malicious code. The malware downloads and runs a script from a remote server as a postinstall script.

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-jf8x-wg7f-p3w8?

2 open source packages ship an affected version, including cage-js.

PackageAffectedFixed in
cage-js npmFrom 0.0.0None
cage-js npmFrom 0.0.0None

How do I fix GHSA-jf8x-wg7f-p3w8?

No fix has been published for GHSA-jf8x-wg7f-p3w8 yet. Limit exposure of the affected software until one is available.

Is GHSA-jf8x-wg7f-p3w8 being exploited?

There is no known exploitation of GHSA-jf8x-wg7f-p3w8 in the wild and no public exploit code.

Sources

Is GHSA-jf8x-wg7f-p3w8 in your software?

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

Check your SBOMs for free