CVE Vulnerabilities

CVE-2017-18594

Double Free

Published: Aug 29, 2019 | Modified: Sep 26, 2019
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
4.3 LOW
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Nmap Nmap 7.70 (including) 7.70 (including)
Nmap Ubuntu bionic *
Nmap Ubuntu disco *
Nmap Ubuntu precise/esm *
Nmap Ubuntu trusty *
Nmap Ubuntu upstream *
Nmap Ubuntu xenial *

Potential Mitigations

References