GHSA-rjvj-673q-4hfw Command Injection in traceroute
Attackers can execute arbitrary code via unsanitized host input in the traceroute npm package, requiring immediate replacement of the library.
- 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-rjvj-673q-4hfw?
GHSA-rjvj-673q-4hfw is a command injection vulnerability in traceroute, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of traceroute are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an exec call, which may allow attackers to execute arbitrary code in the system. The trace function is vulnerable and can be abused if the host value is controlled by an attacker.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Which versions are affected by GHSA-rjvj-673q-4hfw?
2 open source packages ship an affected version, including traceroute.
| Package | Affected | Fixed in |
|---|---|---|
traceroute npm | From 0.0.0 | None |
traceroute npm | From 0.0.0 | None |
How do I fix GHSA-rjvj-673q-4hfw?
No fix has been published for GHSA-rjvj-673q-4hfw yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-rjvj-673q-4hfw being exploited?
There is no known exploitation of GHSA-rjvj-673q-4hfw in the wild and no public exploit code.