Vulnerability CVE-2019-12519: Information

Description

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.

Severity: CRITICAL (9.8) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published: April 15, 2020
Modified: Feb. 11, 2021
Error type identifier: CWE-787

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
squidsisyphus4.11-alt16.8-alt1ALT-PU-2020-1909-1250949Fixed
squidp104.11-alt16.6-alt1ALT-PU-2020-1909-1250949Fixed
squidp94.13-alt14.13-alt1ALT-PU-2020-3140-1260355Fixed
squidc10f14.11-alt16.6-alt1ALT-PU-2020-1909-1250949Fixed
squidc9f24.13-alt14.15-alt1ALT-PU-2020-3142-1260359Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
      Start including
      3.0
      End including
      3.5.28

      cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
      Start including
      5.0
      End including
      5.0.1

      cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
      Start including
      4.0
      End including
      4.10

      Configuration 2

      cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

      cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

      Configuration 3

      cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

      cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

      cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*

      cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*

      Configuration 4

      cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*