Denial of Service Risk in Nmap 7.70 Due to Double Free on SSH Connection Failure
CVE-2017-18594
7.5HIGH
What is CVE-2017-18594?
In the Nmap 7.70 software, a vulnerability exists within the nse_libssh2.cc file that can lead to a denial of service condition. This flaw is triggered by a double free operation occurring when an SSH connection fails. Specifically, if a leading newline character is passed to the scripts ssh-brute.nse or ssh-auth-methods.nse, it can exploit this weakness, potentially causing the application to crash. Ensuring proper error handling and memory management is crucial to mitigate this issue.
