{"id":"GHSA-rjvj-673q-4hfw","aliases":[],"status":"published","title":"Command Injection in traceroute","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-04T17:54:31Z","modified":"2023-01-09T05:04:04Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"traceroute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"traceroute","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://snyk.io/vuln/npm:traceroute:20160311","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1465","tags":["web"]},{"url":"https://github.com/jaw187/node-traceroute","tags":["package"]},{"url":"https://github.com/advisories/GHSA-rjvj-673q-4hfw"}],"sources":{"ghsa":[{"id":"GHSA-rjvj-673q-4hfw","title":"Command Injection in traceroute","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-04T17:54:31Z","modified":"2023-01-09T05:04:04Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"osv":[{"id":"GHSA-rjvj-673q-4hfw","title":"Command Injection in traceroute","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-04T17:54:31Z","modified":"2021-10-04T20:53:02Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:55.877614Z"}]}}
