CVEfocus › CVE database › CVE-2019-12519

CVE-2019-12519

EPSS 5.8% (higher than 94% of CVEs)Published 2020-04-15Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
1Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04squidFixed4.10-1ubuntu1.1UBUNTU-CVE-2019-12519
Ubuntu 18.04squid3Fixed3.5.27-1ubuntu1.6UBUNTU-CVE-2019-12519
Ubuntu 16.04squid3Fixed3.5.12-1ubuntu7.11UBUNTU-CVE-2019-12519
Ubuntu 14.04squid3Fix pending
Debian 14squidFixed4.11-1DEBIAN-CVE-2019-12519
Debian 13squidFixed4.11-1DEBIAN-CVE-2019-12519
Debian 12squidFixed4.11-1DEBIAN-CVE-2019-12519
Red Hat Enterprise Linux 8libecapFixed0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2020:2041
Red Hat Enterprise Linux 8libecap-develFixed0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2020:2041
Red Hat Enterprise Linux 8squidFixed7:4.4-8.module+el8.2.0+6449+6ba3df3e.1RHSA-2020:2041
Red Hat Enterprise Linux 7squidFixed7:3.5.20-15.el7_8.1RHSA-2020:2040
Red Hat Enterprise Linux 7squid-migration-scriptFixed7:3.5.20-15.el7_8.1RHSA-2020:2040
Red Hat Enterprise Linux 7squid-sysvinitFixed7:3.5.20-15.el7_8.1RHSA-2020:2040
Red Hat Enterprise Linux 6squidWill not fix
Will not fix
Red Hat Enterprise Linux 6squid34Will not fix
Will not fix
Red Hat Enterprise Linux 5squidWill not fix
Out of support scope
AlmaLinux 8libecapFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2020:2041
AlmaLinux 8libecap-develFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2020:2041
Rocky Linux 8libecapFixed0:1.0.1-2.module+el8.4.0+404+316a0dc5RLSA-2020:2041
Alpine Linux 3.11squidFixed4.11-r0ALPINE-CVE-2019-12519
Alpine Linux 3.10squidFixed4.11-r0ALPINE-CVE-2019-12519
Alpine Linux 3.9squidFixed4.11-r0ALPINE-CVE-2019-12519

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.