lsof@0.0.2 vulnerabilities

List open file descriptors for your node process

  • latest version

    0.1.0

  • first published

    13 years ago

  • latest version published

    10 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the lsof 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
    Command Injection

    lsof is a lsof processor for node.

    Affected versions of this package are vulnerable to Command Injection. Multiple areas of the package is vulnerable to command injection. Every exported method used by the packages uses the exec function to parse user input.

    PoC by JHU System Security Lab

    var root = require("lsof");
    var attack_code = "& echo vulnerable > create.txt &";
    root.rawTcpPort(attack_code, function(){});
    

    How to fix Command Injection?

    There is no fixed version for lsof.

    *