CVE-2019-12519
squid: improper check for new member in ESIExpression::Evaluate allows for stack buffer overflow
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Red Hat (hoch), AlmaLinux (hoch), Amazon (hoch), Oracle (hoch), Rocky Linux (hoch), Ubuntu (mittel).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 und 1 weitere | 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 |
Alle 38 Einträge aus 26 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 | kein Fix angegeben |
| Red Hat | squid34 | kein Fix angegeben |
| 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 |
Referenzen
- 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
Alle 23 Referenzen
- 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