CVE-2019-12519Out-of-bounds Write in Squid

Severity
9.8CRITICALNVD
EPSS
7.5%
top 8.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 15
Latest updateMay 24

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

Debiansquid/squid< 4.11-1+3
Ubuntusquid/squid< 4.10-1ubuntu1.1
NVDsquid-cache/squid3.03.5.28+2
NVDopensuse/leap15.1

Also affects: Debian Linux 10.0, 9.0, Ubuntu Linux 16.04, 18.04, 19.10, 20.04

🔴Vulnerability Details

4
GHSA
GHSA-2398-fmp4-7w9h: An issue was discovered in Squid through 42022-05-24
OSV
squid, squid3 vulnerabilities2020-05-13
CVEList
CVE-2019-12519: An issue was discovered in Squid through 42020-04-15
OSV
CVE-2019-12519: An issue was discovered in Squid through 42020-04-15

📋Vendor Advisories

3
Ubuntu
Squid vulnerabilities2020-05-13
Red Hat
squid: improper check for new member in ESIExpression::Evaluate allows for stack buffer overflow2020-04-24
Debian
CVE-2019-12519: squid - An issue was discovered in Squid through 4.7. When handling the tag esi:when whe...2019

💬Community

1
Bugzilla
CVE-2019-12519 squid: improper check for new member in ESIExpression::Evaluate allows for stack buffer overflow2020-04-24
CVE-2019-12519 — Out-of-bounds Write in Squid | cvebase