CVE-2019-12519
squid: improper check for new member in ESIExpression::Evaluate allows for stack buffer overflow
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Oracle (alta), Rocky Linux (alta), Ubuntu (media).
Descripción
An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it's being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a new member to the stack. When adding a new member, there is no check to ensure that the stack won't overflow.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | squid:4::libecap, squid:4::libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alpine 3.10 | squid | 4.11-r0 |
| alpine 3.11 | squid | 4.11-r0 |
| alpine 3.9 | squid | 4.11-r0 |
| amazon linux 1 | squid, squid-debuginfo, squid-migration-script | 7:3.5.20-15.39.amzn1 |
| amazon linux 2 | squid, squid-debuginfo, squid-migration-script y 1 más | 7:3.5.20-15.amzn2.1 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.11-1 |
| debian 12 | squid | 4.11-1 |
| debian 13 | squid | 4.11-1 |
| debian 14 | squid | 4.11-1 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
Mostrar las 38 entradas de 26 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | squid:4::libecap | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alma 8 | squid:4::libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alpine 3.10 | squid | 4.11-r0 |
| alpine 3.11 | squid | 4.11-r0 |
| alpine 3.9 | squid | 4.11-r0 |
| amazon linux 1 | squid | 7:3.5.20-15.39.amzn1 |
| amazon linux 1 | squid-debuginfo | 7:3.5.20-15.39.amzn1 |
| amazon linux 1 | squid-migration-script | 7:3.5.20-15.39.amzn1 |
| amazon linux 2 | squid | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-debuginfo | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-migration-script | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-sysvinit | 7:3.5.20-15.amzn2.1 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.11-1 |
| debian 12 | squid | 4.11-1 |
| debian 13 | squid | 4.11-1 |
| debian 14 | squid | 4.11-1 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
| echo | squid | 4.11-1 |
| Oracle Linux 7 | squid | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 7 | squid-migration-script | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 7 | squid-sysvinit | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 8 | libecap | 1.0.1-2.module+el8.1.0+5405+03b963f4 |
| Oracle Linux 8 | libecap-devel | 1.0.1-2.module+el8.1.0+5405+03b963f4 |
| Oracle Linux 8 | squid | 7:4.4-8.module+el8.2.0+7611+d512f060.1 |
| Red Hat | squid | sin corrección indicada |
| Red Hat | squid34 | sin corrección indicada |
| rocky 8 | squid:4::libecap | 1.0.1-2.module+el8.4.0+404+316a0dc5 |
| rocky 8 | squid:4::libecap-devel | 1.0.1-2.module+el8.4.0+404+316a0dc5 |
| ubuntu 16.04 | squid3 | 3.5.12-1ubuntu7.11 |
| ubuntu 16.04-ESM | squid3 | 3.5.12-1ubuntu7.11 |
| ubuntu 18.04 | squid3 | 3.5.27-1ubuntu1.6 |
| ubuntu 18.04-ESM | squid3 | 3.5.27-1ubuntu1.6 |
| ubuntu 19.10 | squid | 4.8-1ubuntu2.3 |
| ubuntu 20.04 | squid | 4.10-1ubuntu1.1 |
| ubuntu 20.04-ESM | squid | 4.10-1ubuntu1.1 |
| ubuntu 20.10 | squid | 4.10-1ubuntu2 |
| ubuntu 21.04 | squid | 4.10-1ubuntu2 |
Referencias
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html
- http://www.openwall.com/lists/oss-security/2020/04/23/1
- http://www.squid-cache.org/Advisories/SQUID-2019_12.txt
- https://access.redhat.com/security/cve/CVE-2019-12519
- https://bugzilla.redhat.com/show_bug.cgi?id=1730535
- https://bugzilla.redhat.com/show_bug.cgi?id=1827552
- https://bugzilla.redhat.com/show_bug.cgi?id=1827563
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12519
Las 23 referencias
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12525
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11945
- https://errata.almalinux.org/8/ALSA-2020-2041.html
- https://errata.rockylinux.org/RLSA-2020:2041
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txt
- https://linux.oracle.com/cve/CVE-2019-12519.html
- https://linux.oracle.com/errata/ELSA-2020-2041.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-12519
- https://security.gentoo.org/glsa/202005-05
- https://security.netapp.com/advisory/ntap-20210205-0006/
- https://ubuntu.com/security/notices/USN-4356-1
- https://usn.ubuntu.com/4356-1/
- https://www.cve.org/CVERecord?id=CVE-2019-12519
- https://www.debian.org/security/2020/dsa-4682