CVE-2017-1000257
Fixed in a distro release EPSS 6%CVSS 9.1
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.
Products: haxx libcurl, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.10 | curl | 7.56.1-r0 |
| Alpine 3.11 | curl | 7.56.1-r0 |
| Alpine 3.12 | curl | 7.56.1-r0 |
| Alpine 3.13 | curl | 7.56.1-r0 |
| Alpine 3.14 | curl | 7.56.1-r0 |
| Alpine 3.15 | curl | 7.56.1-r0 |
| Alpine 3.16 | curl | 7.56.1-r0 |
| Alpine 3.17 | curl | 7.56.1-r0 |
| Alpine 3.18 | curl | 7.56.1-r0 |
| Alpine 3.19 | curl | 7.56.1-r0 |
| Alpine 3.20 | curl | 7.56.1-r0 |
| Alpine 3.21 | curl | 7.56.1-r0 |
| Alpine 3.22 | curl | 7.56.1-r0 |
| Alpine 3.23 | curl | 7.56.1-r0 |
| Alpine 3.24 | curl | 7.56.1-r0 |
| Alpine 3.3 | curl | 7.55.0-r2 |
| Alpine 3.4 | curl | 7.55.0-r2 |
| Alpine 3.5 | curl | 7.56.1-r0 |
| Alpine 3.6 | curl | 7.56.1-r0 |
| Alpine 3.7 | curl | 7.56.1-r0 |
| Alpine 3.8 | curl | 7.56.1-r0 |
| Alpine 3.9 | curl | 7.56.1-r0 |
| Amazon Linux 2 | curl | 7.61.1-9.amzn2.0.1 |
| Amazon Linux 2 | libcurl | 7.61.1-9.amzn2.0.1 |
| Amazon Linux 2 | libcurl-devel | 7.61.1-9.amzn2.0.1 |
| Arch Linux | curl | 7.56.1-1 |
| Arch Linux | lib32-curl | 7.56.1-1 |
| Arch Linux | lib32-libcurl-compat | 7.56.1-1 |
| Arch Linux | lib32-libcurl-gnutls | 7.56.1-1 |
| Arch Linux | libcurl-compat | 7.56.1-1 |
| Arch Linux | libcurl-gnutls | 7.56.1-1 |
| Debian 12 | curl | 7.56.1-1 |
| Debian 13 | curl | 7.56.1-1 |
| Debian 14 | curl | 7.56.1-1 |
| Debian 7 | curl | 7.26.0-1+wheezy22 |
| Debian 8 | curl | 7.38.0-4+deb8u7 |
| Debian 9 | curl | 7.52.1-5+deb9u2 |
| Red Hat Enterprise Linux 7 | curl | 0:7.29.0-42.el7_4.1 |
| Red Hat Enterprise Linux 7 | curl-debuginfo | 0:7.29.0-42.el7_4.1 |
| Red Hat Enterprise Linux 7 | libcurl | 0:7.29.0-42.el7_4.1 |
| Red Hat Enterprise Linux 7 | libcurl-devel | 0:7.29.0-42.el7_4.1 |
| Red Hat rhel software collections 3 | httpd24-curl | 0:7.61.1-1.el6 |
| Red Hat rhel software collections 3 | httpd24-curl | 0:7.61.1-1.el7 |
| Red Hat rhel software collections 3 | httpd24-curl-debuginfo | 0:7.61.1-1.el7 |
| Red Hat rhel software collections 3 | httpd24-curl-debuginfo | 0:7.61.1-1.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-httpd-debuginfo | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd-debuginfo | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-httpd-devel | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd-devel | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-httpd-manual | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-httpd-manual | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd-tools | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-httpd-tools | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-libcurl | 0:7.61.1-1.el7 |
| Red Hat rhel software collections 3 | httpd24-libcurl | 0:7.61.1-1.el6 |
| Red Hat rhel software collections 3 | httpd24-libcurl-devel | 0:7.61.1-1.el6 |
| Red Hat rhel software collections 3 | httpd24-libcurl-devel | 0:7.61.1-1.el7 |
| Red Hat rhel software collections 3 | httpd24-libnghttp2 | 0:1.7.1-7.el6 |
| Red Hat rhel software collections 3 | httpd24-libnghttp2 | 0:1.7.1-7.el7 |
| Red Hat rhel software collections 3 | httpd24-libnghttp2-devel | 0:1.7.1-7.el6 |
| Red Hat rhel software collections 3 | httpd24-libnghttp2-devel | 0:1.7.1-7.el7 |
| Red Hat rhel software collections 3 | httpd24-mod_ldap | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-mod_ldap | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-mod_md | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-mod_proxy_html | 1:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-mod_proxy_html | 1:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-mod_session | 0:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-mod_session | 0:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-mod_ssl | 1:2.4.34-7.el6 |
| Red Hat rhel software collections 3 | httpd24-mod_ssl | 1:2.4.34-7.el7 |
| Red Hat rhel software collections 3 | httpd24-nghttp2 | 0:1.7.1-7.el6 |
| Red Hat rhel software collections 3 | httpd24-nghttp2 | 0:1.7.1-7.el7 |
| Red Hat rhel software collections 3 | httpd24-nghttp2-debuginfo | 0:1.7.1-7.el6 |
| Red Hat rhel software collections 3 | httpd24-nghttp2-debuginfo | 0:1.7.1-7.el7 |
| SUSE Linux Enterprise Desktop 12 SP2 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Desktop 12 SP3 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Server 12 SP2 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Server 12 SP3 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | curl | 7.37.0-37.8.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | curl | 7.37.0-37.8.1 |
| Ubuntu 14.04 LTS | curl | 7.35.0-1ubuntu2.12 |
| Ubuntu 16.04 LTS | curl | 7.47.0-1ubuntu2.4 |
| openSUSE Tumbleweed | curl | 7.79.1-1.1 |