CVE-2019-12521

Priority
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.
Assigned-to
mdeslaur
Notes
Package
Source: squid (LP Ubuntu Debian)
Upstream:released (4.11)
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):DNE
Ubuntu 16.04 LTS (Xenial Xerus):DNE
Ubuntu 18.04 LTS (Bionic Beaver):DNE
Ubuntu 19.10 (Eoan Ermine):released (4.8-1ubuntu2.3)
Ubuntu 20.04 LTS (Focal Fossa):released (4.10-1ubuntu1.1)
Ubuntu 20.10 (Groovy Gorilla):released (4.10-1ubuntu2)
Patches:
Upstream:http://www.squid-cache.org/Versions/v4/changesets/squid-4-fdd4123629320aa1ee4c3481bb392437c90d188d.patch
Package
Upstream:needs-triage
Ubuntu 12.04 ESM (Precise Pangolin):needs-triage
Ubuntu 14.04 ESM (Trusty Tahr):DNE
Ubuntu 16.04 LTS (Xenial Xerus):released (3.5.12-1ubuntu7.11)
Ubuntu 18.04 LTS (Bionic Beaver):released (3.5.27-1ubuntu1.6)
Ubuntu 19.10 (Eoan Ermine):DNE
Ubuntu 20.04 LTS (Focal Fossa):DNE
Ubuntu 20.10 (Groovy Gorilla):DNE
More Information

Updated: 2020-05-13 19:14:28 UTC (commit 28f9b2c2acd1fa9ed861c4413d9abb6607b429b5)