CVE-2019-12521

Summary

CVECVE-2019-12521
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-04-15 19:15:00 UTC
Updated2021-07-21 11:39:00 UTC
DescriptionAn issue was discovered in Squid through 4.7. When Squid is parsing ESI, it keeps the ESI elements in ESIContext. ESIContext contains a buffer for holding a stack of ESIElements. When a new ESIElement is parsed, it is added via addStackElement. addStackElement has a check for the number of elements in this buffer, but it's off by 1, leading to a Heap Overflow of 1 element. The overflow is within the same structure so it can't affect adjacent memory blocks, and thus just leads to a crash while processing.

Risk And Classification

Problem Types: CWE-787 | CWE-193

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 19.10 All All All
Operating System Canonical Ubuntu Linux 20.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 19.10 All All All
Operating System Canonical Ubuntu Linux 20.04 All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Opensuse Leap 15.1 All All All
Operating System Opensuse Leap 15.1 All All All
Application Squid-cache Squid All All All All
Application Squid-cache Squid All All All All
Application Squid-cache Squid All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2278-1] squid3 security update MLIST lists.debian.org Mailing List, Third Party Advisory
January 2021 Squid Vulnerabilities in NetApp Products | NetApp Product Security CONFIRM security.netapp.com Third Party Advisory
squid/CVEs/CVE-2019-12521.txt · master · Jeriko One / Security · GitLab MISC gitlab.com Third Party Advisory
[security-announce] openSUSE-SU-2020:0623-1: important: Security update SUSE lists.opensuse.org Mailing List, Third Party Advisory
Squid: Multiple vulnerabilities (GLSA 202005-05) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
Debian -- Security Information -- DSA-4682-1 squid DEBIAN www.debian.org Third Party Advisory
USN-4356-1: Squid vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
oss-security - [ADVISORY] SQUID-2019:12 Multiple issues in ESI Response processing MLIST www.openwall.com Mailing List, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159658 Oracle Enterprise Linux Security Update for squid:4 (ELSA-2020-4743)
  • 296074 Oracle Solaris 11.4 Support Repository Update (SRU) 22.69.4 Missing (CPUAPR2020)
  • 356292 Amazon Linux Security Advisory for squid : ALASSQUID4-2023-008
  • 357357 Amazon Linux Security Advisory for squid : ALAS2-2024-2509
  • 377360 Alibaba Cloud Linux Security Update for squid:4 (ALINUX3-SA-2022:0124)
  • 940034 AlmaLinux Security Update for squid:4 (ALSA-2020:4743)
  • 960867 Rocky Linux Security Update for squid:4 (RLSA-2020:4743)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report