GHSA-hg5q-rj62-c43g Malicious Package in reqest
A typosquatted npm package exfiltrates system and installation details to a remote server, requiring developers 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-hg5q-rj62-c43g?
GHSA-hg5q-rj62-c43g is a vulnerability in reqest, 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 reqest 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-hg5q-rj62-c43g?
2 open source packages ship an affected version, including reqest.
| Package | Affected | Fixed in |
|---|---|---|
reqest npm | All versions | None |
reqest npm | All versions | None |
How do I fix GHSA-hg5q-rj62-c43g?
No fix has been published for GHSA-hg5q-rj62-c43g yet. Limit exposure of the affected software until one is available.
Is GHSA-hg5q-rj62-c43g being exploited?
There is no known exploitation of GHSA-hg5q-rj62-c43g in the wild and no public exploit code.