GitHub Advisoryadvisory · npm
GHSA-8j9v-qhp4-wv55 Node-Traceroute RCE Vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2018-21268
- Ecosystem
- npm
- Packages
- traceroute
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
- Reviewed
- 2023-07-19
Affected packages
• npm traceroute: <= 1.0.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2018-21268 The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-21268 advisory
- https://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f web
- https://github.com/jaw187/node-traceroute package
- https://github.com/jaw187/node-traceroute/tags web
- https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3 web
- https://snyk.io/vuln/npm:traceroute:20160311 web
- https://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy web
- https://www.npmjs.com/advisories/1465 web
- https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package web