GitHub Advisoryadvisory · npm

GHSA-8j9v-qhp4-wv55 Node-Traceroute RCE Vulnerability

CRITICAL Published 2022-05-24 Modified 2023-10-06 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