Live threats

All CVEs / Traceroute Project

CVE-2018-21268Traceroute Project Traceroute

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Traceroute.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
traceroute_projecttraceroute≤ 1.0.0

Official sources

References

Links published by the sources. Open them with care.