Double Free in Nmap
CVE-2017-18594
nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when an SSH connection fails, as demonstrated by a leading \n character to ssh-brute.nse or ssh-auth-methods.nse.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.032, 88.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nmap — versions 7.70
Weakness classification (CWE)
References
- seclists.org/nmap-dev/2018/q2/45 (Mailing List, Third Party Advisory)
- github.com/nmap/nmap/issues/1227 (Exploit, Third Party Advisory)
- github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad (Patch, Third Party Advisory)
- github.com/nmap/nmap/issues/1077 (Patch, Third Party Advisory)
- github.com/AMatchandaHaystack/Research/blob/master/Nmap&libsshDF (Third Party Advisory)
- seclists.org/nmap-announce/2019/0 (Mailing List, Third Party Advisory)
- openSUSE-SU-2019:2198 (vendor-advisory)
- openSUSE-SU-2019:2200 (vendor-advisory)