{"id":"GHSA-8j9v-qhp4-wv55","summary":"Node-Traceroute RCE Vulnerability","details":"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.","aliases":["CVE-2018-21268"],"modified":"2023-11-08T04:00:14.543897Z","published":"2022-05-24T17:21:39Z","database_specific":{"github_reviewed_at":"2023-07-19T23:28:29Z","nvd_published_at":"2020-06-25T17:15:00Z","cwe_ids":["CWE-74"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21268"},{"type":"WEB","url":"https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f"},{"type":"PACKAGE","url":"https://github.com/jaw187/node-traceroute"},{"type":"WEB","url":"https://github.com/jaw187/node-traceroute/tags"},{"type":"WEB","url":"https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3"},{"type":"WEB","url":"https://snyk.io/vuln/npm:traceroute:20160311"},{"type":"WEB","url":"https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1465"},{"type":"WEB","url":"https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package"}],"affected":[{"package":{"name":"traceroute","ecosystem":"npm","purl":"pkg:npm/traceroute"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8j9v-qhp4-wv55/GHSA-8j9v-qhp4-wv55.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}