CVE-2017-1000257
curl: IMAP FETCH response out of bounds read
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (moyenne), Amazon (moyenne), Oracle (moyenne), Ubuntu (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 1.0 | curl | 7.54.0-5.ph1 |
| Photon OS 2.0 | curl | 7.54.1-4.ph2 |
| 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 |
Afficher les 56 entrées de 46 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 1.0 | curl | 7.54.0-5.ph1 |
| Photon OS 2.0 | curl | 7.54.1-4.ph2 |
| 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 |
| alpine edge | curl | 7.56.1-r0 |
| amazon linux 1 | curl | 7.53.1-12.79.amzn1 |
| amazon linux 1 | curl-debuginfo | 7.53.1-12.79.amzn1 |
| amazon linux 1 | libcurl | 7.53.1-12.79.amzn1 |
| amazon linux 1 | libcurl-devel | 7.53.1-12.79.amzn1 |
| amazon linux 2 | curl | 7.61.1-9.amzn2.0.1 |
| amazon linux 2 | curl-debuginfo | 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 |
| debian 11 | curl | 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 |
| echo | curl | 7.56.1-1 |
| Oracle Linux 7 | curl | 7.29.0-42.el7_4.1 |
| Oracle Linux 7 | libcurl | 7.29.0-42.el7_4.1 |
| Oracle Linux 7 | libcurl-devel | 7.29.0-42.el7_4.1 |
| Red Hat | rh-dotnet21-curl | pas de correctif indiqué |
| Red Hat | rh-dotnet21-libcurl | pas de correctif indiqué |
| Red Hat | rh-dotnet21-libcurl-devel | pas de correctif indiqué |
| root.io debian 11 | rootio-curl | 7.56.1-1 |
| root.io debian 12 | rootio-curl | 7.56.1-1 |
| root.io debian 13 | rootio-curl | 7.56.1-1 |
| ubuntu 14.04 | curl | 7.35.0-1ubuntu2.12 |
| ubuntu 14.04-ESM | curl | 7.35.0-1ubuntu2.12 |
| ubuntu 16.04 | curl | 7.47.0-1ubuntu2.4 |
| ubuntu 16.04-ESM | curl | 7.47.0-1ubuntu2.4 |
| ubuntu 17.04 | curl | 7.52.1-4ubuntu1.3 |
| ubuntu 17.10 | curl | 7.55.1-1ubuntu2.1 |
Références
- http://www.debian.org/security/2017/dsa-4007
- http://www.securityfocus.com/bid/101519
- http://www.securitytracker.com/id/1039644
- https://access.redhat.com/errata/RHSA-2017:3263
- https://access.redhat.com/errata/RHSA-2018:2486
- https://access.redhat.com/errata/RHSA-2018:3558
- https://access.redhat.com/security/cve/CVE-2017-1000257
- https://curl.haxx.se/docs/adv_20171023.html
Les 15 références
- https://linux.oracle.com/cve/CVE-2017-1000257.html
- https://linux.oracle.com/errata/ELSA-2017-3263.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000257
- https://security.gentoo.org/glsa/201712-04
- https://ubuntu.com/security/notices/USN-3441-2
- https://ubuntu.com/security/notices/USN-3457-1
- https://www.cve.org/CVERecord?id=CVE-2017-1000257