CVE-2021-31807
publishedsquid: incorrect memory management in HTTP Range header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1950 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2SQUID4-2023-004 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libecap | Advisory build | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2021:4292 |
| Alpine Linux | edge | squid | Fixed | 5.0.6-r0 | Package fix record |
| Debian | buster | squid | Advisory build | 4.6-1+deb10u6 | DSA-4924-1 |
| Oracle Linux | 7 | squidaarch64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Red Hat Enterprise Linux | RHEL-8 | libecapaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | squid | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Amazon Linux | AL2 | squidaarch64 | Listed in advisory | Not stated | ALAS2-2023-1950 |
| Rocky Linux | 8 | libecapaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| AlmaLinux | 8 | libecap-devel | Advisory build | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2021:4292 |
| AlmaLinux | 8 | squid | Advisory build | 7:4.15-3.module_el8.6.0+3010+383bc947.1 | ALSA-2021:4292 |
| Alpine Linux | v3.10 | squid | Fixed | 4.15-r0 | Package fix record |
| Alpine Linux | v3.11 | squid | Fixed | 4.15-r0 | Package fix record |
| Alpine Linux | v3.12 | squid | Fixed | 4.15-r0 | Package fix record |
| Alpine Linux | v3.13 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.14 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.15 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.16 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.17 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.18 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.19 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.20 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.21 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.22 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.23 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Alpine Linux | v3.24 | squid | Fixed | 5.0.6-r0 | Package fix record |
| Debian | stretch | squid3 | Advisory build | 3.5.23-5+deb9u7 | DLA-2685-1 |
| Oracle Linux | 7 | squidx86_64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Oracle Linux | 7 | squid-migration-scriptaarch64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Oracle Linux | 7 | squid-migration-scriptx86_64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Oracle Linux | 7 | squid-sysvinitaarch64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Oracle Linux | 7 | squid-sysvinitx86_64 | Advisory build | 7:3.5.20-17.0.1.el7_9.6 | ELSA-2021-9465 |
| Oracle Linux | 8 | libecapaarch64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2021-4292 |
| Oracle Linux | 8 | libecapx86_64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2021-4292 |
| Oracle Linux | 8 | libecap-develaarch64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2021-4292 |
| Oracle Linux | 8 | libecap-develx86_64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2021-4292 |
| Oracle Linux | 8 | squidaarch64 · squid · 4b | Advisory build | 7:4.15-1.module+el8.5.0+20327+24c223d9 | ELSA-2021-4292 |
| Oracle Linux | 8 | squidx86_64 · squid · 4b | Advisory build | 7:4.15-1.module+el8.5.0+20327+24c223d9 | ELSA-2021-4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecapppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecaps390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecapsrc | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecapx86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfoaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfoppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfos390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfox86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourceaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourceppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsources390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourcex86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-devels390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develx86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squidaarch64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squidppc64le | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squids390x | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squidsrc | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squidx86_64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfoaarch64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfoppc64le | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfos390x | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfox86_64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourceaarch64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourceppc64le | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsources390x | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourcex86_64 | Advisory build | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| Ubuntu | bionic | squid-cgi | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Ubuntu | bionic | squid-common | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Ubuntu | bionic | squid-purge | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Ubuntu | bionic | squid3 | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Ubuntu | bionic | squidclient | Advisory build | 3.5.27-1ubuntu1.11 | USN-4981-1 |
| Ubuntu | focal | squid | Advisory build | 4.10-1ubuntu1.4 | USN-4981-1 |
| Ubuntu | focal | squid-cgi | Advisory build | 4.10-1ubuntu1.4 | USN-4981-1 |
| Ubuntu | focal | squid-common | Advisory build | 4.10-1ubuntu1.4 | USN-4981-1 |
| Ubuntu | focal | squid-purge | Advisory build | 4.10-1ubuntu1.4 | USN-4981-1 |
| Ubuntu | focal | squidclient | Advisory build | 4.10-1ubuntu1.4 | USN-4981-1 |
| Amazon Linux | AL2 | squidaarch64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-004 |
| Amazon Linux | AL2 | squidi686 | Listed in advisory | Not stated | ALAS2-2023-1950 |
| Amazon Linux | AL2 | squidi686 | Listed in advisory | Not stated | ALAS2SQUID4-2023-004 |
| Amazon Linux | AL2 | squidsrc | Listed in advisory | Not stated | ALAS2-2023-1950 |
| Amazon Linux | AL2 | squidsrc | Listed in advisory | Not stated | ALAS2SQUID4-2023-004 |
| Amazon Linux | AL2 | squidx86_64 | Listed in advisory | Not stated | ALAS2-2023-1950 |
| Amazon Linux | AL2 | squidx86_64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-004 |
| Rocky Linux | 8 | libecapsrc | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecapx86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-develaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | libecap-develx86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squidaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squidsrc | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squidx86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squid-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squid-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squid-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2021:4292 |
| Rocky Linux | 8 | squid-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2021:4292 |
Description
An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. An integer overflow problem allows a remote server to achieve Denial of Service when delivering responses to HTTP Range requests. The issue trigger is a header that can be expected to exist in HTTP traffic without any malicious intent.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- 20231016 Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days. http://seclists.org/fulldisclosure/2023/Oct/14
- [oss-security] 20231011 Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days. http://www.openwall.com/lists/oss-security/2023/10/11/3
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch
- https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf
- [debian-lts-announce] 20210614 [SECURITY] [DLA 2685-1] squid3 security update https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html
- FEDORA-2021-c0bec55ec7 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/
- FEDORA-2021-24af72ff2c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/
- https://security.netapp.com/advisory/ntap-20210716-0007/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a942c3c245222ff3f85d4e1ab0bfed6b817549e77a17e6621a419fc88bfe16ce
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record