{"id":"MGASA-2018-0196","summary":"Updated nmap packages fix security vulnerability","details":"Nmap developer nnposter found a security flaw (directory traversal\nvulnerability) in the way the non-default http-fetch script sanitized\nURLs. If a user manualy ran this NSE script against a malicious web\nserver, the server could potentially (depending on NSE arguments used)\ncause files to be saved outside the intended destination directory.\nExisting files couldn't be overwritten.  We fixed http-fetch, audited\nour other scripts to ensure they didn't make this mistake, and updated\nthe httpspider library API to protect against this by default.\n","modified":"2026-04-16T04:26:56.390511Z","published":"2018-04-06T22:54:47Z","references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2018-0196.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=22854"},{"type":"WEB","url":"http://seclists.org/nmap-announce/2018/0"}],"affected":[{"package":{"name":"nmap","ecosystem":"Mageia:6","purl":"pkg:rpm/mageia/nmap?arch=source&distro=mageia-6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.40-1.1.mga6"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2018-0196.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}