GHSA-2h3x-95c6-885r Malicious Package in river-mock
Malicious npm package river-mock exfiltrates system data and executes remote code, compromising the host.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-2h3x-95c6-885r?
GHSA-2h3x-95c6-885r is a vulnerability in river-mock, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of river-mock contain malicious code. The package uploads system information to a remote server, downloads a file and executes 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-2h3x-95c6-885r?
2 open source packages ship an affected version, including river-mock.
| Package | Affected | Fixed in |
|---|---|---|
river-mock npm | From 0.0.0 | None |
river-mock npm | From 0.0.0 | None |
How do I fix GHSA-2h3x-95c6-885r?
No fix has been published for GHSA-2h3x-95c6-885r yet. Limit exposure of the affected software until one is available.
Is GHSA-2h3x-95c6-885r being exploited?
There is no known exploitation of GHSA-2h3x-95c6-885r in the wild and no public exploit code.