libnmap@0.4.13 vulnerabilities

libnmap for node.js

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Arbitrary Command Injection

libnmap is an API to access nmap from node.js.

Affected versions of this package are vulnerable to Arbitrary Command Injection. If the attacker is allowed to provide the "range" field for the network scan, they could inject arbitrary OS commands instead of a valid IP range.

How to fix Arbitrary Command Injection?

Upgrade libnmap to version 0.4.16 or higher.

<0.4.16