[3.7] curl: Multiple vulnerabilities (CVE-2019-5435, CVE-2019-5436)
CVE-2019-5435: Integer overflows in curl_url_set()
libcurl contains two integer overflows in the curl_url_set() function
that if triggered, can lead to
a too small buffer allocation and a subsequent heap buffer overflow.
Affected versions: libcurl 7.62.0 to and including 7.64.1
Not affected versions: libcurl < 7.62.0 and >= libcurl 7.65.0
CVE-2019-5436: TFTP receive buffer overflow
libcurl contains a heap buffer overflow in the function
(tftp_receive_packet()) that recevives data from
a TFTP server. It calls recvfrom() with the default size for the buffer rather than with the size that was
used to allocate it. Thus, the content that might overwrite the heap memory is entirely controlled by the server.
The flaw exists if the user selects to use a “blksize” of 504 or smaller
(default is 512). The smaller size that is used,
the larger the possible overflow becomes. Users chosing a smaller size than default should be rare as the primary
use case for changing the size is to make it larger.
Affected versions: libcurl 7.19.4 to and including 7.64.1
Not affected versions: libcurl < 7.19.4 and >= libcurl 7.65.0
(from redmine: issue id 10499, created on 2019-05-28, closed on 2019-06-05)
- parent #10496 (closed)