CVE-2018-21268Traceroute Project Traceroute
Critical 9.8 No auth needed
Follow: this CVE · Traceroute Project · Traceroute Project Traceroute We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jun 25, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Traceroute.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | traceroute |
≤ 1.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-8j9v-qhp4-wv55). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| traceroute_project | traceroute | ≤ 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- medium.com
- snyk.io Exploit Third Party Advisory
- www.linkedin.com Third Party Advisory
- www.npmjs.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory
- www.op-c.net Exploit Third Party Advisory