Skip to main content
No exploitation reportedFix available

CVE-2018-1000161

No exploitation reported by the sources we read.

  • Published2018-04-18
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2018-04-1819:29CVE publishedNVD

Versions per branch

NVD
Nmap
BranchAffectedFixed in
6.49= 6.49no fix published
7.0= 7.00no fix published
7.1= 7.01no fix published
7.10= 7.10no fix published
7.11= 7.11no fix published
7.12= 7.12no fix published
7.25= 7.25no fix published
7.30= 7.30no fix published
7.31= 7.31no fix published
7.40= 7.40no fix published
7.50= 7.50no fix published
7.60= 7.60no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nmapUbuntu:18.04:LTSall versions · no fixed version listed
  • nmapUbuntu:16.04:LTSall versions · no fixed version listed
  • nmapDebian:14all versions · fixed in 7.70+dfsg1-1
  • nmapDebian:13all versions · fixed in 7.70+dfsg1-1
  • nmapDebian:12all versions · fixed in 7.70+dfsg1-1

Vendor advisories

  • CVE-2018-1000161 Red Hat Product Security

    nmap: directory traversal in the way the non-default http-fetch script sanitized URLs

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Published
2018-04-18
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-463f-727w-pqp7

Frequently asked questions

What is CVE-2018-1000161?

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.

Is CVE-2018-1000161 actively exploited?

Active exploitation of CVE-2018-1000161 has not been confirmed. Its EPSS score was 1.0% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-1000161?

CVE-2018-1000161 has a CVSS v3 base score of 5.7 (MEDIUM severity), with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N.

Running nmap? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record