ALPINE-CVE-2017-1000257

Advisory lineage Upstream: 1 Downstream: 0
Published: 31 Oct 2017, 21:29
Last modified:03 Dec 2025, 22:35

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.1 CRITICAL
3.0 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

31 Oct 2017, 21:29
Published
Vulnerability first disclosed
03 Dec 2025, 22:35
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.0CRITICALScore: 9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected Systems

  • alpinecurl

    < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.55.0-r2 | < 7.55.0-r2 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0 | < 7.56.1-r0

References (1)