Stack-based Buffer Overflow Affecting squid-migration-script package, versions <7:3.5.20-15.el7_8.1


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
7.27% (94th 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-CENTOS7-SQUIDMIGRATIONSCRIPT-2165094
  • 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:7 squid-migration-script to version 7:3.5.20-15.el7_8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid-migration-script package and not the squid-migration-script package as distributed by Centos. See How to fix? for Centos:7 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 Scores

version 3.1