CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Squid-cache

CVE-2019-12521
Squid-cache Squid vulnerability

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.

Affected products

Squid, Ubuntu Linux, Debian Linux, Leap. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Squid-cache Squid runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Squid-cache products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.