CVE-2019-12519

CRITICAL

Squid < 3.5.28 - Out-of-bounds Write via ESI Expression Evaluation

Title source: llm
STIX 2.1

Description

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.

References (8)

Core 8
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2020/04/23/1
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2020/dsa-4682
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202005-05
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4356-1/
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210205-0006/

Scores

CVSS v3 9.8
EPSS 0.0754
EPSS Percentile 91.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (8)
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 19.10
canonical/ubuntu_linux 20.04
debian/debian_linux 9.0
debian/debian_linux 10.0
opensuse/leap 15.1
squid-cache/squid 3.0 - 3.5.28
Published Apr 15, 2020
Tracked Since Feb 18, 2026