CVE-2018-14618
curl: NTLM password overflow via integer overflow
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Ubuntu (media), Red Hat (baja), Amazon (baja), Oracle (baja).
Descripción
curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code. The internal function Curl_ntlm_core_mk_nt_hash multiplies the length of the password by two (SUM) to figure out how large temporary storage area to allocate from the heap. The length value is then subsequently used to iterate over the password and generate output into the allocated storage buffer. On systems with a 32 bit size_t, the math to calculate SUM triggers an integer overflow when the password length exceeds 2GB (2^31 bytes). This integer overflow usually causes a very small buffer to actually get allocated instead of the intended very huge one, making the use of that buffer end up in a heap buffer overflow. (This bug is almost identical to CVE-2017-8816.)
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 1.0 | curl | 7.59.0-5.ph1 |
| Photon OS 2.0 | curl | 7.59.0-4.ph2 |
| alpine 3.10 | curl | 7.61.1-r0 |
| alpine 3.11 | curl | 7.61.1-r0 |
| alpine 3.12 | curl | 7.61.1-r0 |
| alpine 3.13 | curl | 7.61.1-r0 |
| alpine 3.14 | curl | 7.61.1-r0 |
| alpine 3.15 | curl | 7.61.1-r0 |
| alpine 3.16 | curl | 7.61.1-r0 |
| alpine 3.17 | curl | 7.61.1-r0 |
| alpine 3.18 | curl | 7.61.1-r0 |
| alpine 3.19 | curl | 7.61.1-r0 |
Mostrar las 56 entradas de 43 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 1.0 | curl | 7.59.0-5.ph1 |
| Photon OS 2.0 | curl | 7.59.0-4.ph2 |
| alpine 3.10 | curl | 7.61.1-r0 |
| alpine 3.11 | curl | 7.61.1-r0 |
| alpine 3.12 | curl | 7.61.1-r0 |
| alpine 3.13 | curl | 7.61.1-r0 |
| alpine 3.14 | curl | 7.61.1-r0 |
| alpine 3.15 | curl | 7.61.1-r0 |
| alpine 3.16 | curl | 7.61.1-r0 |
| alpine 3.17 | curl | 7.61.1-r0 |
| alpine 3.18 | curl | 7.61.1-r0 |
| alpine 3.19 | curl | 7.61.1-r0 |
| alpine 3.20 | curl | 7.61.1-r0 |
| alpine 3.21 | curl | 7.61.1-r0 |
| alpine 3.22 | curl | 7.61.1-r0 |
| alpine 3.23 | curl | 7.61.1-r0 |
| alpine 3.24 | curl | 7.61.1-r0 |
| alpine 3.5 | curl | 7.61.1-r0 |
| alpine 3.6 | curl | 7.61.1-r0 |
| alpine 3.7 | curl | 7.61.1-r0 |
| alpine 3.8 | curl | 7.61.1-r0 |
| alpine 3.9 | curl | 7.61.1-r0 |
| alpine edge | curl | 7.61.1-r0 |
| amazon linux 1 | curl | 7.53.1-16.85.amzn1 |
| amazon linux 1 | curl-debuginfo | 7.53.1-16.85.amzn1 |
| amazon linux 1 | libcurl | 7.53.1-16.85.amzn1 |
| amazon linux 1 | libcurl-devel | 7.53.1-16.85.amzn1 |
| amazon linux 2 | curl | 7.55.1-12.amzn2.0.7 |
| amazon linux 2 | curl-debuginfo | 7.55.1-12.amzn2.0.7 |
| amazon linux 2 | libcurl | 7.55.1-12.amzn2.0.7 |
| amazon linux 2 | libcurl-devel | 7.55.1-12.amzn2.0.7 |
| debian 11 | curl | 7.62.0-1 |
| debian 12 | curl | 7.62.0-1 |
| debian 13 | curl | 7.62.0-1 |
| debian 14 | curl | 7.62.0-1 |
| debian 8 | curl | 7.38.0-4+deb8u12 |
| debian 9 | curl | 7.52.1-5+deb9u7 |
| echo | curl | 7.62.0-1 |
| Oracle Linux 7 | curl | 7.29.0-51.0.1.el7_6.3 |
| Oracle Linux 7 | libcurl | 7.29.0-51.0.1.el7_6.3 |
| Oracle Linux 7 | libcurl-devel | 7.29.0-51.0.1.el7_6.3 |
| Red Hat | curl | sin corrección indicada |
| Red Hat | libcurl | sin corrección indicada |
| Red Hat | libcurl-devel | sin corrección indicada |
| Red Hat | rh-dotnet21-curl | sin corrección indicada |
| Red Hat | rh-dotnet21-libcurl | sin corrección indicada |
| Red Hat | rh-dotnet21-libcurl-devel | sin corrección indicada |
| root.io debian 11 | rootio-curl | 7.62.0-1 |
| root.io debian 12 | rootio-curl | 7.62.0-1 |
| root.io debian 13 | rootio-curl | 7.62.0-1 |
| ubuntu 14.04 | curl | 7.35.0-1ubuntu2.17 |
| ubuntu 14.04-ESM | curl | 7.35.0-1ubuntu2.17 |
| ubuntu 16.04 | curl | 7.47.0-1ubuntu2.9 |
| ubuntu 16.04-ESM | curl | 7.47.0-1ubuntu2.9 |
| ubuntu 18.04 | curl | 7.58.0-2ubuntu3.3 |
| ubuntu 18.04-ESM | curl | 7.58.0-2ubuntu3.3 |
Referencias
- http://www.securitytracker.com/id/1041605
- https://access.redhat.com/errata/RHSA-2018:3558
- https://access.redhat.com/errata/RHSA-2019:1880
- https://access.redhat.com/security/cve/CVE-2018-14618
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14618
- https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf
- https://curl.haxx.se/docs/CVE-2018-14618.html
- https://github.com/curl/curl/issues/2756
Las 19 referencias
- https://linux.oracle.com/cve/CVE-2018-14618.html
- https://linux.oracle.com/errata/ELSA-2019-1880.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-14618
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0014
- https://security.gentoo.org/glsa/201903-03
- https://ubuntu.com/security/notices/USN-3765-1
- https://ubuntu.com/security/notices/USN-3765-2
- https://usn.ubuntu.com/3765-1/
- https://usn.ubuntu.com/3765-2/
- https://www.cve.org/CVERecord?id=CVE-2018-14618
- https://www.debian.org/security/2018/dsa-4286