Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2019-12521: Security patch for squid (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2019-12521: Security patch for squid (Multiple Advisories)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:P)
Published
04/15/2020
Created
09/28/2023
Added
09/28/2023
Modified
04/02/2024

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-squid
  • amazon-linux-ami-2-upgrade-squid-debuginfo
  • amazon-linux-ami-2-upgrade-squid-migration-script
  • amazon-linux-ami-2-upgrade-squid-sysvinit

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;