{"id":"UBUNTU-CVE-2018-1000161","details":"nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7.","modified":"2025-10-24T04:47:20Z","published":"2018-04-18T19:29:00Z","upstream":["CVE-2018-1000161"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000161"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000161"}],"affected":[{"package":{"name":"nmap","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nmap@7.01-2ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.47-7","7.01-2ubuntu1","7.01-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"ndiff","binary_version":"7.01-2ubuntu2"},{"binary_name":"nmap","binary_version":"7.01-2ubuntu2"},{"binary_version":"7.01-2ubuntu2","binary_name":"zenmap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000161.json"}},{"package":{"name":"nmap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nmap@7.60-1ubuntu5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.60-1ubuntu1","7.60-1ubuntu2","7.60-1ubuntu3","7.60-1ubuntu4","7.60-1ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"7.60-1ubuntu5","binary_name":"ndiff"},{"binary_version":"7.60-1ubuntu5","binary_name":"nmap"},{"binary_name":"zenmap","binary_version":"7.60-1ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000161.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}