PT-2020-5765
CVE-2019-12521
·
Published
2019-07-15
·
Updated
2022-08-19
Description by
CVSS 3.1
5.9
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions:
Squid versions through 4.7
Description:
An issue was discovered in Squid when parsing ESI. The ESIContext contains a buffer for holding a stack of ESIElements. When a new ESIElement is parsed, it is added via the
addStackElement function. However, addStackElement has a check for the number of elements in this buffer that is off by 1, leading to a Heap Overflow of 1 element. The overflow is within the same structure, so it cannot affect adjacent memory blocks, and thus just leads to a crash while processing. This can be exploited by a remote attacker to cause a denial of service.Recommendations:
For Squid versions through 4.7, update to a version that fixes this issue to prevent a potential crash while processing ESI elements.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾