{"id":"CVE-2018-21268","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2020-06-25T16:56:53.000Z","updatedAt":"2024-08-05T12:26:39.592Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N","source":"mitre"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy","https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/","https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3","https://github.com/jaw187/node-traceroute/tags","https://www.npmjs.com/package/traceroute","https://www.npmjs.com/advisories/1465","https://snyk.io/vuln/npm:traceroute:20160311","https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:42.344Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/21xxx/CVE-2018-21268.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-21268","state":"PUBLISHED","datePublished":"2020-06-25T16:56:53.000Z","dateUpdated":"2024-08-05T12:26:39.592Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-06-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-06-25T16:56:53.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-21268","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AC:L/AV:N/A:L/C:H/I:H/PR:N/S:C/UI:N","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy","refsource":"MISC","url":"https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy"},{"name":"https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/","refsource":"MISC","url":"https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/"},{"name":"https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3","refsource":"MISC","url":"https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3"},{"name":"https://github.com/jaw187/node-traceroute/tags","refsource":"MISC","url":"https://github.com/jaw187/node-traceroute/tags"},{"name":"https://www.npmjs.com/package/traceroute","refsource":"MISC","url":"https://www.npmjs.com/package/traceroute"},{"name":"https://www.npmjs.com/advisories/1465","refsource":"MISC","url":"https://www.npmjs.com/advisories/1465"},{"name":"https://snyk.io/vuln/npm:traceroute:20160311","refsource":"MISC","url":"https://snyk.io/vuln/npm:traceroute:20160311"},{"name":"https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f","refsource":"MISC","url":"https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jaw187/node-traceroute/tags","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/package/traceroute","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/advisories/1465","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/npm:traceroute:20160311","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T12:26:39.592Z"}}]}}}