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.
CVSS Details
- CVSS 3.1 Base Score: 5.9
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade libecapUpgrade libecap-devel | May 4, 2022 | Apr 15, 2020 |
| Alpine Linux | — | Upgrade squid | Jan 5, 2021 | Apr 15, 2020 |
| Amazon Linux Ami 2 | — | Upgrade squid-sysvinitUpgrade squid-migration-scriptUpgrade squid-debuginfoUpgrade squid | Sep 28, 2023 | Apr 15, 2020 |
| Amazon_linux | — | Upgrade squid | Jun 4, 2020 | Apr 15, 2020 |
| Centos_linux | — | Upgrade libecapUpgrade libecap-develUpgrade squidUpgrade squid-debuginfoUpgrade squid-debugsourceUpgrade libecap-debugsourceUpgrade libecap-debuginfo | Nov 5, 2020 | Apr 15, 2020 |
| Debian | — | Upgrade squid | May 11, 2020 | Apr 15, 2020 |
| Gentoo Linux | — | Upgrade net-proxy/squid. | Jun 15, 2020 | Apr 15, 2020 |
| Huawei Euleros 2_0_sp2 | — | Upgrade squid-migration-scriptUpgrade squid | Jun 17, 2020 | Apr 15, 2020 |
| Huawei Euleros 2_0_sp3 | — | Upgrade squidUpgrade squid-migration-script | Sep 28, 2020 | Apr 15, 2020 |
| Huawei Euleros 2_0_sp5 | — | Upgrade squid | Sep 3, 2020 | Apr 15, 2020 |
| Huawei Euleros 2_0_sp8 | — | Upgrade squid | Jul 31, 2020 | Apr 15, 2020 |
| Oracle Solaris | — | Upgrade web/proxy/squid to version 4.11-11.4.22.0.1.69.4 on Solaris 11.4 | Jan 19, 2021 | Apr 15, 2020 |
| Oracle_linux | — | Upgrade libecap-develUpgrade squidUpgrade libecap | Jul 22, 2024 | Apr 24, 2020 |
| Redhat_linux | — | Upgrade libecapUpgrade libecap-debugsourceUpgrade squid-debuginfoUpgrade libecap-develUpgrade libecap-debuginfoNo solution existsUpgrade squidUpgrade squid-debugsource | Nov 5, 2020 | Apr 15, 2020 |
| Rocky_linux | — | Upgrade libecapUpgrade libecap-debugsourceUpgrade libecap-develUpgrade libecap-debuginfo | Mar 12, 2024 | Apr 15, 2020 |
| Suse | — | Upgrade squidUpgrade squid3 | Apr 30, 2020 | Apr 15, 2020 |
| Ubuntu | — | Upgrade squid | Jun 24, 2020 | Apr 15, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub