nmap — security advisory
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.
- Products
- nmap
- Affected versions
- Not specified
- Fixed versions
- 7.70+dfsg1-1
- CVEs
- CVE-2018-1000161
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:24 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2018-1000161
nmap
Fixed versions: 7.70+dfsg1-1
nmap
Fixed versions: 7.70+dfsg1-1
nmap
Fixed versions: 7.70+dfsg1-1
Complete source record
{
"id": "9419b539b51008b537227307e03c7c4d6c1dbe9831f93b4ead154c43ada14ca4",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-1000161",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-1000161",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2018-1000161",
"products": [
{
"name": {
"value": "nmap",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.70+dfsg1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nmap",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.70+dfsg1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nmap",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.70+dfsg1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2018-1000161",
"aliases": [
"DEBIAN-CVE-2018-1000161"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.70+dfsg1-1"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/debian/nmap?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1000161.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.70+dfsg1-1"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/debian/nmap?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1000161.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.70+dfsg1-1"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/debian/nmap?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1000161.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:17.368924780Z",
"provider": "osv",
"upstream": [
"CVE-2018-1000161"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-1000161"
]
},
"related_cves": [
{
"value": "CVE-2018-1000161",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 421022,
"published_at": "2018-04-18T19:29:00.503+00:00"
}