CVEfocus › CVE database › CVE-2021-31806

CVE-2021-31806

EPSS 95.3% (in the top 1% of all CVEs)Published 2021-05-27Updated 2024-08-03Assigner: mitre

An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to a memory-management bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy) via HTTP Range request processing.

What to do

Likely to be exploited: EPSS gives a 95% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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

28Fixed
2Fix pending
5Will not fix
1Not affected

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.4UBUNTU-CVE-2021-31806
Ubuntu 18.04squid3Fixed3.5.27-1ubuntu1.11UBUNTU-CVE-2021-31806
Ubuntu 16.04squid3Fix pendingUBUNTU-CVE-2021-31806
Ubuntu 14.04squid3Fix pending
Debian 14squidFixed4.13-10DEBIAN-CVE-2021-31806
Debian 13squidFixed4.13-10DEBIAN-CVE-2021-31806
Debian 12squidFixed4.13-10DEBIAN-CVE-2021-31806
Red Hat Enterprise Linux 9squidNot affected
Red Hat Enterprise Linux 8libecapFixed0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2021:4292
Red Hat Enterprise Linux 8libecap-develFixed0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2021:4292
Red Hat Enterprise Linux 8squidFixed7:4.15-1.module+el8.5.0+11469+24c223d9RHSA-2021:4292
Red Hat Enterprise Linux 7squidWill not fix
Out of support scope
Red Hat Enterprise Linux 7squid-migration-scriptWill not fix
Out of support scope
Red Hat Enterprise Linux 7squid-sysvinitWill not fix
Out of support scope
Red Hat Enterprise Linux 6squidWill not fix
Out of support scope
Red Hat Enterprise Linux 6squid34Will not fix
Out of support scope
AlmaLinux 8libecapFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2021:4292
AlmaLinux 8libecap-develFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2021:4292
AlmaLinux 8squidFixed7:4.15-3.module_el8.6.0+3010+383bc947.1ALSA-2021:4292
Rocky Linux 8libecapFixed0:1.0.1-2.module+el8.4.0+404+316a0dc5RLSA-2021:4292
Rocky Linux 8squidFixed7:4.15-1.module+el8.5.0+705+218dec94RLSA-2021:4292
Alpine Linux 3.24squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.23squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.22squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.21squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.20squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.19squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.18squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.17squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.16squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.15squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.14squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.13squidFixed5.0.6-r0ALPINE-CVE-2021-31806
Alpine Linux 3.12squidFixed4.15-r0ALPINE-CVE-2021-31806
Alpine Linux 3.11squidFixed4.15-r0ALPINE-CVE-2021-31806
Alpine Linux 3.10squidFixed4.15-r0ALPINE-CVE-2021-31806

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.