Descriptionnmap 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nmap (PTS)stretch7.40-1vulnerable
bullseye, sid7.91+dfsg1+really7.80+dfsg1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nmapsourcewheezy(not affected)
nmapsourcejessie(not affected)


[stretch] - nmap <no-dsa> (Minor issue)
[jessie] - nmap <not-affected> (Vulnerable code not present)
[wheezy] - nmap <not-affected> (Vulnerable code not present)
Fixed by:
Fixed by:
Fixed by:
Fixed by:
Introduced in
Script added in 6.49BETA6 (cf.

Search for package or bug name: Reporting problems