CVE-2019-12519

An issue was discovered in Squid through 4.7

published April 15, 2020

CVSS
—
EPSS
7%
Percentile
93.9
In the wild
Unconfirmed
What it is

⚠️ A stack overflow just waiting to happen! When Squid encounters the tag `esi:when`, it risks overflowing its stack like a crowded buffet table where no one keeps track of how many plates are piled up. 🍽️ Imagine a restaurant where the kitchen keeps adding more and more plates on the same stack without checking if it can still support the weight. Eventually, that stack is going to topple over, causing chaos and a mess everywhere! In this case, an attacker could exploit the buffer overflow to crash the service or even potentially execute arbitrary code. While there's no known exploit yet, the damage from a successful attack could result in downtime or compromise of sensitive information.

Put simply

Imagine a restaurant where the kitchen keeps adding more and more plates on the same stack without checking if it can still support the weight. Eventually, that stack is going to topple over, causing chaos and a mess everywhere! This vulnerability arises from Squid's ESIExpression::Evaluate function, which uses a fixed stack buffer to evaluate expressions without checking for overflow when adding new members. If the stack exceeds its limit, it can lead to unpredictable behavior.

What to do

In this case, an attacker could exploit the buffer overflow to crash the service or even potentially execute arbitrary code. While there's no known exploit yet, the damage from a successful attack could result in downtime or compromise of sensitive information. To safeguard against this, ensure you update Squid to the latest version where this issue has been resolved. Additionally, monitor your use of ESI tags and consider disabling them if not needed. Regular security audits will also help catch these kinds of issues early! You've got this! Follow these steps, and you’ll keep your environment safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06717 · 93.9th percentile
Published
2020-04-15T19:20Z
EPSS history
Timeline
  • 15 APR 19:20Z
    An issue was discovered in Squid through 4.7
    cvelistv5