{"id":"CVE-2018-21268","published":"2020-06-25T16:56:53Z","modified":"2024-08-05T12:26:39Z","title":"The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host…","vendor":null,"product":null,"tier":"tail","description":{"text":"The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04286,"percentile":0.91341,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy","tags":["x_refsource_MISC"]},{"url":"https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/","tags":["x_refsource_MISC"]},{"url":"https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3","tags":["x_refsource_MISC"]},{"url":"https://github.com/jaw187/node-traceroute/tags","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/traceroute","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/advisories/1465","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/npm:traceroute:20160311","tags":["x_refsource_MISC"]},{"url":"https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f","tags":["x_refsource_MISC"]}],"priority":{"score":30.3,"factors":[{"name":"EPSS percentile","points":18.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-21","earliestUrl":"https://github.com/dannyEndorTest/node-vulnerable","repos":[{"name":"dannyEndorTest/node-vulnerable","url":"https://github.com/dannyEndorTest/node-vulnerable","stars":0,"created":"2026-05-21"}]},"first":{"date":"2026-05-21","source":"PoC-in-GitHub","url":"https://github.com/dannyEndorTest/node-vulnerable"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"traceroute","vulnerableRanges":["<=1.0.0"],"patched":[],"from":["GHSA-8j9v-qhp4-wv55"],"provenance":"source"}],"summary":{"text":"The traceroute (node-traceroute) npm package, through version 1.0.0 for Node.js, contains a flaw in its handling of the host parameter, which is passed to Child.exec(). An attacker who can supply a crafted host value can inject an operating system command by placing it after a newline character, and this requires only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:32:50Z"},"euvd":{"id":"EUVD-2022-3192","exploited":false,"provenance":"source"}}