cURL/libcURL 7.x < 7.39.0 'curl_easy_duphandle()' Out-of-Bounds Read Issue
Medium Nessus Network Monitor Plugin ID 8565
SynopsisThe cURL program is a library and command-line tool for transferring data using various protocols, including HTTP, FTP, and LDAP. A vulnerable version of cURL was detected from the host.
DescriptionVersions of cURL/libcURL older than 7.39.0 are unpatched for an out-of-bounds read vulnerability in the 'curl_easy_duphandle()' function, which is triggered when using the CURLOPT_COPYPOSTFIELDS option and sending a binary HTTP POST. This can be leveraged to cause a crash or disclose heap memory contents.
SolutionUpgrade the affected packages; the next version of cURL/libcURL that fixes the issue is cURL 7.39.0.