ADVISORIES

GitHub Advisory Database

GHSA-vvh2-82c7-ppfg

network Arbitrary Command Injection vulnerability

Details

Versions of the package network before 0.7.0 are vulnerable to Arbitrary Command Injection due to use of the child_process exec function without input sanitization. If (attacker-controlled) user input is given to the mac_address_for function of the package, it is possible for an attacker to execute arbitrary commands on the operating system that this package is being run on.

Affected packages

EcosystemPackageAffected versions
npmnetwork
All versions before 0.7.0 (fixed in 0.7.0)

References