CVE-2019-12521
CVE-2019-12521
CVSS 5.9 · Medium · EPSS 5.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- squid Alpine 3.10Update to 4.11-r0
- squid Alpine 3.11Update to 4.11-r0
- squid Alpine 3.9Update to 4.11-r0
- squid Debian 12Update to 4.11-1
- and 5 more
Check the installed version:
apk list -I -o squiddpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2020:4743 · Red Hat Enterprise Linux 8 appstream ·
- ALSA-2020:4743 · AlmaLinux 8 ·
- RLSA-2020:4743 · Rocky Linux 8 ·
- SUSE-SU-2020:14460-1 · SUSE Linux Enterprise Point of Sale 11 SP3, SUSE Linux Enterprise Server 11 SP4-LTSS ·
- DLA-2278-1 · Debian 9 ·
- USN-4356-1 · Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
- SUSE-SU-2020:1227-1 · SUSE Enterprise Storage 5, SUSE HPE Helion OpenStack 8, SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP2-LTSS, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP3-LTSS, SUSE Linux Enterprise Server 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP2, SUSE Linux Enterprise Server for SAP Applications 12 SP3, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
- openSUSE-SU-2020:0623-1 · openSUSE Leap 15.1 ·
- DSA-4682-1 · Debian 10 ·
- SUSE-SU-2020:1156-1 · SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise Module for Server Applications 15 SP1, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 ·
- SUSE-SU-2020:1134-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
squid Alpine 3.10
- Affected ranges
- ECOSYSTEM: ≥ 4.0, < 4.11-r0
Update to 4.11-r0
squid Alpine 3.11
- Affected ranges
- ECOSYSTEM: ≥ 4.0, < 4.11-r0
Update to 4.11-r0
squid Alpine 3.9
- Affected ranges
- ECOSYSTEM: ≥ 4.0, < 4.11-r0
Update to 4.11-r0
squid Debian 12
- Affected ranges
- ECOSYSTEM: < 4.11-1
Update to 4.11-1
squid Debian 13
- Affected ranges
- ECOSYSTEM: < 4.11-1
Update to 4.11-1
squid Debian 14
- Affected ranges
- ECOSYSTEM: < 4.11-1
Update to 4.11-1
squid3 Ubuntu 16.04 LTS
- Versions
- 3.3.8-1ubuntu16
- 3.3.8-1ubuntu17
- 3.5.12-1ubuntu6
- 3.5.12-1ubuntu7
- 3.5.12-1ubuntu7.1
- 3.5.12-1ubuntu7.2
All versions (14)
- 3.5.12-1ubuntu7.3
- 3.5.12-1ubuntu7.4
- 3.5.12-1ubuntu7.5
- 3.5.12-1ubuntu7.6
- 3.5.12-1ubuntu7.7
- 3.5.12-1ubuntu7.8
- 3.5.12-1ubuntu7.9
- 3.5.12-1ubuntu7.10
- Affected ranges
- ECOSYSTEM: < 3.5.12-1ubuntu7.11
Update to 3.5.12-1ubuntu7.11
squid3 Ubuntu 18.04 LTS
- Versions
- 3.5.23-5ubuntu1
- 3.5.23-5ubuntu2
- 3.5.27-1ubuntu1
- 3.5.27-1ubuntu1.1
- 3.5.27-1ubuntu1.2
- 3.5.27-1ubuntu1.3
All versions (8)
- 3.5.27-1ubuntu1.4
- 3.5.27-1ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 3.5.27-1ubuntu1.6
Update to 3.5.27-1ubuntu1.6
squid Ubuntu 20.04 LTS
- Versions
- 4.8-1ubuntu2
- 4.8-1ubuntu3
- 4.9-2ubuntu1
- 4.9-2ubuntu2
- 4.9-2ubuntu3
- 4.9-2ubuntu4
All versions (7)
- 4.10-1ubuntu1
- Affected ranges
- ECOSYSTEM: < 4.10-1ubuntu1.1
Update to 4.10-1ubuntu1.1
Original sources
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt
- http://www.openwall.com/lists/oss-security/2020/04/23/1
- https://www.debian.org/security/2020/dsa-4682
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html
- https://security.gentoo.org/glsa/202005-05
- https://usn.ubuntu.com/4356-1/
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://security.netapp.com/advisory/ntap-20210205-0006/
- https://nvd.nist.gov/vuln/detail/CVE-2019-12521