Skip to content
OpenAdvisories
Critical · 10.0 Public exploit CVE-2018-21268 EUVD-2022-3192GHSA-8j9v-qhp4-wv55

Node-Traceroute RCE Vulnerability

Published Jun 25, 2020 · Updated Aug 5, 2024 · Assigned by mitre

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm traceroute <= 1.0.0 — GHSA-8j9v-qhp4-wv55

References