CVE-2018-21268
CRITICAL9.8EPSS 6.5%Node-Traceroute RCE Vulnerability
Published: 5/24/2022Modified: 11/8/2023
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.
Affected packages (1)
- npm/traceroutefrom 0, <= 1.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-21268
- PATCHhttps://github.com/jaw187/node-traceroute
- WEBhttps://github.com/jaw187/node-traceroute/commit/b99ee024a01a40d3d20a92ad3769cc78a3f6386f
- WEBhttps://github.com/jaw187/node-traceroute/tags
- WEBhttps://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3
- WEBhttps://snyk.io/vuln/npm:traceroute:20160311
- WEBhttps://www.linkedin.com/posts/op-innovate_shell-command-injection-through-traceroute-activity-6678956453086191616-Rcpy
- WEBhttps://www.npmjs.com/advisories/1465
- WEBhttps://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package