CVE-2019-12526
squid: Heap overflow issue in URN processing
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (high), Red Hat (medium), AlmaLinux (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).
Description
An issue was discovered in Squid before 4.9. URN response handling in Squid suffers from a heap-based buffer overflow. When receiving data from a remote server in response to an URN request, Squid fails to ensure that the response can fit within the buffer. This leads to attacker controlled data overflowing in the heap.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alma 8 | squid:4::libecap, squid:4::libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| amazon linux 1 | squid, squid-debuginfo, squid-migration-script | 7:3.5.20-17.49.amzn1 |
| amazon linux 2 | squid, squid-debuginfo, squid-migration-script and 1 more | 7:3.5.20-17.amzn2.7.7 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.9-1 |
| debian 12 | squid | 4.9-1 |
| debian 13 | squid | 4.9-1 |
| debian 14 | squid | 4.9-1 |
| debian 8 | squid3 | 3.4.8-6+deb8u9 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
| echo | squid | 4.9-1 |
| Oracle Linux 8 | libecap, libecap-devel, squid | 1.0.1-2.module+el8.3.0+7819+eb7d4ef6 and 1 more |
Show all 36 entries from 24 sources
| Source | Package | Fixed 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 |
| amazon linux 1 | squid | 7:3.5.20-17.49.amzn1 |
| amazon linux 1 | squid-debuginfo | 7:3.5.20-17.49.amzn1 |
| amazon linux 1 | squid-migration-script | 7:3.5.20-17.49.amzn1 |
| amazon linux 2 | squid | 7:3.5.20-17.amzn2.7.7 |
| amazon linux 2 | squid-debuginfo | 7:3.5.20-17.amzn2.7.7 |
| amazon linux 2 | squid-migration-script | 7:3.5.20-17.amzn2.7.7 |
| amazon linux 2 | squid-sysvinit | 7:3.5.20-17.amzn2.7.7 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.9-1 |
| debian 12 | squid | 4.9-1 |
| debian 13 | squid | 4.9-1 |
| debian 14 | squid | 4.9-1 |
| debian 8 | squid3 | 3.4.8-6+deb8u9 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
| echo | squid | 4.9-1 |
| Oracle Linux 8 | libecap | 1.0.1-2.module+el8.3.0+7819+eb7d4ef6 |
| Oracle Linux 8 | libecap-devel | 1.0.1-2.module+el8.3.0+7819+eb7d4ef6 |
| Oracle Linux 8 | squid | 7:4.11-3.module+el8.3.0+7819+eb7d4ef6 |
| Red Hat | squid | no fix listed |
| Red Hat | squid-migration-script | no fix listed |
| Red Hat | squid-sysvinit | no fix listed |
| Red Hat | squid34 | no fix listed |
| 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.9 |
| ubuntu 16.04-ESM | squid3 | 3.5.12-1ubuntu7.9 |
| ubuntu 18.04 | squid3 | 3.5.27-1ubuntu1.4 |
| ubuntu 18.04-ESM | squid3 | 3.5.27-1ubuntu1.4 |
| ubuntu 19.04 | squid | 4.4-1ubuntu2.3 |
| ubuntu 19.10 | squid | 4.8-1ubuntu2.1 |
| ubuntu 20.04 | squid | 4.9-2ubuntu1 |
| ubuntu 20.04-ESM | squid | 4.9-2ubuntu1 |
| ubuntu 20.10 | squid | 4.9-2ubuntu1 |
| ubuntu 21.04 | squid | 4.9-2ubuntu1 |
References
- http://www.squid-cache.org/Advisories/SQUID-2019_7.txt
- https://access.redhat.com/security/cve/CVE-2019-12526
- https://bugzilla.redhat.com/show_bug.cgi?id=1730523
- https://bugzilla.redhat.com/show_bug.cgi?id=1730528
- https://bugzilla.redhat.com/show_bug.cgi?id=1770349
- https://bugzilla.redhat.com/show_bug.cgi?id=1770356
- https://bugzilla.redhat.com/show_bug.cgi?id=1770360
- https://bugzilla.redhat.com/show_bug.cgi?id=1770365
All 53 references
- https://bugzilla.redhat.com/show_bug.cgi?id=1770371
- https://bugzilla.redhat.com/show_bug.cgi?id=1770375
- https://bugzilla.redhat.com/show_bug.cgi?id=1798534
- https://bugzilla.redhat.com/show_bug.cgi?id=1798540
- https://bugzilla.redhat.com/show_bug.cgi?id=1798552
- https://bugzilla.redhat.com/show_bug.cgi?id=1817121
- https://bugzilla.redhat.com/show_bug.cgi?id=1827558
- https://bugzilla.redhat.com/show_bug.cgi?id=1827562
- https://bugzilla.redhat.com/show_bug.cgi?id=1827570
- https://bugzilla.redhat.com/show_bug.cgi?id=1852550
- https://bugzilla.redhat.com/show_bug.cgi?id=1852554
- https://bugzilla.redhat.com/show_bug.cgi?id=1871705
- https://bugzilla.suse.com/show_bug.cgi?id=1156326
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12520
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12521
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12523
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12524
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12526
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12528
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12529
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12854
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18676
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18677
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18678
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18679
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18860
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14058
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15049
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24606
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8449
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8450
- https://errata.almalinux.org/8/ALSA-2020-4743.html
- https://errata.rockylinux.org/RLSA-2020:4743
- https://linux.oracle.com/cve/CVE-2019-12526.html
- https://linux.oracle.com/errata/ELSA-2020-4743.html
- https://lists.debian.org/debian-lts-announce/2019/12/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTM74TU2BSLT5B3H4F3UDW53672NVLMC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UEMOYTMCCFWK5NOXSXEIH5D2VGWVXR67/
- https://nvd.nist.gov/vuln/detail/CVE-2019-12526
- https://security.gentoo.org/glsa/202003-34
- https://ubuntu.com/security/notices/USN-4213-1
- https://usn.ubuntu.com/4213-1/
- https://www.cve.org/CVERecord?id=CVE-2019-12526
- https://www.debian.org/security/2020/dsa-4682