{"id":"GHSA-rjvj-673q-4hfw","aliases":["GHSA-rjvj-673q-4hfw"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in traceroute","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T17:54:31.000Z","modified":"2021-10-04T20:53:02.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"traceroute","purl":"pkg:npm/traceroute","source":"ghsa"}],"references":[{"url":"https://github.com/jaw187/node-traceroute","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/npm:traceroute:20160311","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1465","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rjvj-673q-4hfw","url":"https://github.com/advisories/GHSA-rjvj-673q-4hfw","licence":"CC-BY-4.0","modified":"2021-10-04T20:53:02.000Z"}],"updatedAt":"2026-11-25T22:56:46.485Z"}