network@0.0.4 vulnerabilities

Cross platform network utilities for Node.js (gateway_ip, MAC address, etc)

  • latest version

    0.7.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    10 months ago

  • licenses detected

    • >=0.0.1 <0.0.9
  • Direct Vulnerabilities

    Known vulnerabilities in the network package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Arbitrary Command Injection

    network is a the missing network utilities in Node.js.

    Affected versions of this package 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 the attacker to execute arbitrary commands on the operating system that this package is being run on.

    How to fix Arbitrary Command Injection?

    Upgrade network to version 0.7.0 or higher.

    <0.7.0