Vulnerability Details : 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 category: Memory CorruptionDenial of service
Products affected by CVE-2017-18594
- cpe:2.3:a:nmap:nmap:7.70:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-18594
0.47%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-18594
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-18594
-
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-18594
-
https://seclists.org/nmap-announce/2019/0
Nmap Announce: Nmap Defcon Release! 80+ improvements include new NSE scripts/libs, new Npcap, etc.Mailing List;Third Party Advisory
-
https://github.com/nmap/nmap/commit/350bbe0597d37ad67abe5fef8fba984707b4e9ad
Avoid a crash (double-free) when SSH connection fails · nmap/nmap@350bbe0 · GitHubPatch;Third Party Advisory
-
https://github.com/AMatchandaHaystack/Research/blob/master/Nmap%26libsshDF
Research/Nmap&libsshDF at master · AMatchandaHaystack/Research · GitHubThird Party Advisory
-
https://github.com/nmap/nmap/issues/1077
NMAP crash with ssh-auth-methods.nse (patch included) · Issue #1077 · nmap/nmap · GitHubPatch;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00073.html
[security-announce] openSUSE-SU-2019:2198-1: important: Security update
-
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00075.html
[security-announce] openSUSE-SU-2019:2200-1: important: Security update
-
https://seclists.org/nmap-dev/2018/q2/45
Nmap Development: Crash in libssh with certain SSH scriptsMailing List;Third Party Advisory
-
https://github.com/nmap/nmap/issues/1227
Crash in libssh when port 22 response is unexpected · Issue #1227 · nmap/nmap · GitHubExploit;Third Party Advisory
Jump to