GHSA-h5vm-jhq7-w647 Malicious Package in momen
A typosquatted npm package exfiltrates installation metadata to a remote server, requiring users to remove the malicious dependency.
- 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-h5vm-jhq7-w647?
GHSA-h5vm-jhq7-w647 is a vulnerability in momen, published on 2 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 momen typosquatted a popular package of similar name and tracked users who had installed the incorrect package. The package uploaded information to a remote server including: name of the downloaded package, name of the intended package, the Node version and whether the process was running as sudo. There is no further compromise.
Recommendation
Remove the package from your dependencies and always ensure package names are typed correctly upon installation.
Which versions are affected by GHSA-h5vm-jhq7-w647?
2 open source packages ship an affected version, including momen.
| Package | Affected | Fixed in |
|---|---|---|
momen npm | All versions | None |
momen npm | All versions | None |
How do I fix GHSA-h5vm-jhq7-w647?
No fix has been published for GHSA-h5vm-jhq7-w647 yet. Limit exposure of the affected software until one is available.
Is GHSA-h5vm-jhq7-w647 being exploited?
There is no known exploitation of GHSA-h5vm-jhq7-w647 in the wild and no public exploit code.