cbcvebase.
CVE-2017-1000257
published 2017-10-31

CVE-2017-1000257: An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on…

PriorityP338critical9.1CVSS 3.1
AVNACLPRNUINSUCHINAH
EPSS
0.97%
77.1th percentile
An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.

Affected

8 ranges
VendorProductVersion rangeFixed in
debiancurl< curl 7.56.1-1 (bookworm)curl 7.56.1-1 (bookworm)
debiandebian_linux
debiandebian_linux
haxxcurl>= 0 < 7.56.1-17.56.1-1
haxxcurl>= 0 < 7.56.1-17.56.1-1
haxxcurl>= 0 < 7.56.1-17.56.1-1
haxxcurl>= 0 < 7.56.1-17.56.1-1
haxxlibcurl7.20.0 – 7.56.0

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
vendor_ubuntu5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.