Stack-based Buffer Overflow Affecting squid package, versions <7:4.4-8.module+el8.2.0+6449+6ba3df3e.1


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
7.27% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-SQUID-2041227
  • published26 Jul 2021
  • disclosed24 Apr 2020

Introduced: 24 Apr 2020

CVE-2019-12519  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:8 squid to version 7:4.4-8.module+el8.2.0+6449+6ba3df3e.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid package and not the squid package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it's being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a new member to the stack. When adding a new member, there is no check to ensure that the stack won't overflow.

CVSS Base Scores

version 3.1