MGASA-2018-0196
Updated nmap packages fix security vulnerability
Nmap developer nnposter found a security flaw (directory traversal vulnerability) in the way the non-default http-fetch script sanitized URLs. If a user manualy ran this NSE script against a malicious web server, the server could potentially (depending on NSE arguments used) cause files to be saved outside the intended destination directory. Existing files couldn't be overwritten. We fixed http-fetch, audited our other scripts to ensure they didn't make this mistake, and updated the httpspider library API to protect against this by default.
What each source reports
OSV No score
Updated nmap packages fix security vulnerability
Nmap developer nnposter found a security flaw (directory traversal vulnerability) in the way the non-default http-fetch script sanitized URLs. If a user manualy ran this NSE script against a malicious web server, the server could potentially (depending on NSE arguments used) cause files to be saved outside the intended destination directory. Existing files couldn't be overwritten. We fixed http-fetch, audited our other scripts to ensure they didn't make this mistake, and updated the httpspider library API to protect against this by default.
- Record
MGASA-2018-0196- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nmapMageia:6 |
before 7.40-1.1.mga6 | 7.40-1.1.mga6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
MGASA-2018-0196 is a vulnerability with no CVSS score yet in nmap, published April 6, 2018. No source lists public exploit code. Fixed in nmap 7.40-1.1.mga6.