CVE-2019-12521 Details
Description
An 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-193 | Off-by-one Error | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| squid-cache squid | >= 3.0, <= 3.5.28 >= 4.0, <= 4.7 >= 5.0, <= 5.0.1 |
CPE
Remediation
| |
| canonical ubuntu linux | 16.04 18.04 19.10 20.04 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 |
CPE
Remediation
| |
| opensuse leap | 15.1 |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Feb 11, 2021 | Modified Analysis | [email protected] |
| Feb 5, 2021 | CVE Modified | [email protected] |
| Aug 18, 2020 | CPE Deprecation Remap | [email protected] |
| Jul 11, 2020 | CVE Modified | [email protected] |
| Jun 5, 2020 | Modified Analysis | [email protected] |
| May 19, 2020 | CVE Modified | [email protected] |
| May 13, 2020 | CVE Modified | [email protected] |
| May 11, 2020 | CVE Modified | [email protected] |
| May 9, 2020 | CVE Modified | [email protected] |
| Apr 29, 2020 | Initial Analysis | [email protected] |
| Apr 23, 2020 | CVE Modified | [email protected] |