CVE-2017-1000257
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. libcurls 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.
Risk Information
Base Score
9.1
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS Score
Exploitation Probability
1.09
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2017-1000257,CVE-2017-8818 are affected in Curl For Windows 7.56.0 | Windows |
| Vulnerabilities CVE-2017-1000257 are fixed in Curl For Windows 7.56.1 | Windows |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.47.0-1ubuntu2.4_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.47.0-1ubuntu2.4_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.52.1-4ubuntu1.3_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.52.1-4ubuntu1.3_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.55.1-1ubuntu2.1_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.55.1-1ubuntu2.1_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.35.0-1ubuntu2.12_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) curl_7.35.0-1ubuntu2.12_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.47.0-1ubuntu2.4_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.47.0-1ubuntu2.4_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.52.1-4ubuntu1.3_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.52.1-4ubuntu1.3_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.55.1-1ubuntu2.1_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.55.1-1ubuntu2.1_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.35.0-1ubuntu2.12_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3_7.35.0-1ubuntu2.12_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.47.0-1ubuntu2.4_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.47.0-1ubuntu2.4_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.52.1-4ubuntu1.3_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.52.1-4ubuntu1.3_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.55.1-1ubuntu2.1_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.55.1-1ubuntu2.1_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.35.0-1ubuntu2.12_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-nss_7.35.0-1ubuntu2.12_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.47.0-1ubuntu2.4_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.47.0-1ubuntu2.4_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.52.1-4ubuntu1.3_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.52.1-4ubuntu1.3_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.55.1-1ubuntu2.1_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.55.1-1ubuntu2.1_amd64.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.35.0-1ubuntu2.12_i386.deb | Linux |
| HTTP, HTTPS, and FTP client and client libraries (USN-3457-1) libcurl3-gnutls_7.35.0-1ubuntu2.12_amd64.deb | Linux |
| curl security update(DSA-4007-1) curl_7.38.0-4+deb8u7_i386.deb | Linux |
| curl security update(DSA-4007-1) curl_7.52.1-5+deb9u1_i386.deb | Linux |
| (RHSA-2017:3263) Moderate: curl security update curl-7.29.0-42.el7_4.1.x86_64.rpm | Linux |
| (RHSA-2017:3263) Moderate: curl security update libcurl-7.29.0-42.el7_4.1.i686.rpm | Linux |
| (RHSA-2017:3263) Moderate: curl security update libcurl-7.29.0-42.el7_4.1.x86_64.rpm | Linux |
| (RHSA-2017:3263) Moderate: curl security update libcurl-devel-7.29.0-42.el7_4.1.i686.rpm | Linux |
| (RHSA-2017:3263) Moderate: curl security update libcurl-devel-7.29.0-42.el7_4.1.x86_64.rpm | Linux |
| Improper Restriction of Operations within the Bounds of a Memory Buffer Vulnerability (CVE-2017-1000257) | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234