cve.bz

CVE-2020-15811 Incorrect Comparison

6.5 mediumEPSS 3.8%Fix available

Medium (6.5). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Squid before 4.13 and 5.x before 5.0.4. Due to incorrect data validation, HTTP Request Splitting attacks may succeed against HTTP and HTTPS traffic. This leads to cache poisoning. This allows any client, including browser scripts, to bypass local security and poison the browser cache and any downstream caches with content from an arbitrary source. Squid uses a string search instead of parsing the Transfer-Encoding header to find chunked encoding. This allows an attacker to hide a second request inside Transfer-Encoding: it is interpreted by Squid as chunked and split out into a second request delivered upstream. Squid will then deliver two distinct responses to the client, corrupting any downstream caches.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
3.8% (unchanged from 3.8% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15811 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15811?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15811?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15811 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squid-cache:squidbefore 4.13
squid-cache:squidfrom 5.0 before 5.0.4
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9squid33.5.23-5+deb9u5DLA-2394-1
Debian10squid4.6-1+deb10u4DSA-4751-1
Debian12, 13, 14squid4.13-1DEBIAN-CVE-2020-15811
Ubuntu16.04:LTSsquid33.5.12-1ubuntu7.15UBUNTU-CVE-2020-15811 USN-4551-1
Ubuntu18.04:LTSsquid33.5.27-1ubuntu1.9UBUNTU-CVE-2020-15811 USN-4551-1
Ubuntu20.04:LTSsquid4.10-1ubuntu1.2UBUNTU-CVE-2020-15811 USN-4477-1
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationsquid, squid-sysvinit, squid-debuginfo and 1 more7:3.5.20-17.el7_9.4RHSA-2020:4082
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.4-8.module+el8.2.0+7834+b8ecaeef.2RHSA-2020:3623
Red Hatenterprise_linux:8::appstream, rhel_eus:8.1::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2020:3623
Red Hatrhel_e4s:8.0::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.0.0+4045+70edde92RHSA-2020:3623
Red Hatrhel_e4s:8.0::appstreamsquid, squid-debuginfo, squid-debugsource7:4.4-5.module+el8.0.0+7838+974c4845.2RHSA-2020:3623
Red Hatrhel_eus:8.1::appstreamsquid, squid-debuginfo, squid-debugsource7:4.4-8.module+el8.1.0+7837+e38d3ca0.2RHSA-2020:3623
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 12 moresquid3.5.21-26.32.1SUSE-SU-2020:2471-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Server Applications 15 SP1 and 3 moresquid4.13-5.23.1SUSE-SU-2020:2442-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSsquid33.1.23-8.16.37.15.1SUSE-SU-2020:14590-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5squid4.13-4.15.1SUSE-SU-2020:2443-1
openSUSELeap 15.1squid4.13-lp151.2.24.1openSUSE-SU-2020:1346-1
openSUSELeap 15.2squid4.13-lp152.2.6.1openSUSE-SU-2020:1369-1
openSUSETumbleweedsquid4.16-1.5openSUSE-SU-2024:11403-1
Rocky Linux8libecap0:1.0.1-2.module+el8.4.0+404+316a0dc5RLSA-2020:3623
Alpinev3.9, v3.10, v3.11 and 1 moresquid4.13-r0ALPINE-CVE-2020-15811
Alpinev3.13, v3.14, v3.15 and 9 moresquid4.13.0-r0ALPINE-CVE-2020-15811

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Disable the relaxed HTTP parser in `squid.conf`:

```

relaxed_header_parser off

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7squid-7:3.5.20-17.el7_9.4Fixed 2020-09-30RHSA-2020:4082
Red Hat Enterprise Linux 8squid:4-8020020200827100059.4cda2c84Fixed 2020-09-03RHSA-2020:3623
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionssquid:4-8000020200827105727.f8e95b4eFixed 2020-09-03RHSA-2020:3623
Red Hat Enterprise Linux 8.1 Extended Update Supportsquid:4-8010020200827104751.c27ad7f8Fixed 2020-09-03RHSA-2020:3623
Red Hat Enterprise Linux 5squidOut of support scope
Red Hat Enterprise Linux 6squidOut of support scope
Red Hat Enterprise Linux 6squid34Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15811.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON