CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (6.5). EPSS 95% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2021-31806 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31806?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31806?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-2021-31806 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| squid-cache:squid | before 4.15 |
| squid-cache:squid | from 5.0 before 5.0.6 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | squid3 | 3.5.23-5+deb9u7 | DLA-2685-1 |
| Debian | 10 | squid | 4.6-1+deb10u6 | DSA-4924-1 |
| Debian | 12, 13, 14 | squid | 4.13-10 | DEBIAN-CVE-2021-31806 |
| Ubuntu | 18.04:LTS | squid3 | 3.5.27-1ubuntu1.11 | UBUNTU-CVE-2021-31806 USN-4981-1 |
| Ubuntu | 20.04:LTS | squid | 4.10-1ubuntu1.4 | UBUNTU-CVE-2021-31806 USN-4981-1 |
| Ubuntu | Pro:16.04:LTS | squid3 | no fix listed | UBUNTU-CVE-2021-31806 |
| Red Hat | enterprise_linux:8::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2021:4292 |
| Red Hat | enterprise_linux:8::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.15-1.module+el8.5.0+11469+24c223d9 | RHSA-2021:4292 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | squid | 4.15-5.26.1 | SUSE-SU-2021:1961-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | squid | 4.15-4.18.1 | SUSE-SU-2021:1838-1 |
| openSUSE | Leap 15.2 | squid | 4.15-lp152.2.9.1 | openSUSE-SU-2021:0879-1 |
| openSUSE | Leap 15.3 | squid | 4.15-5.26.1 | openSUSE-SU-2021:1961-1 |
| openSUSE | Tumbleweed | squid | 4.16-1.5 | openSUSE-SU-2024:11403-1 |
| AlmaLinux | 8 | libecap, libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2021:4292 |
| AlmaLinux | 8 | squid | 7:4.15-3.module_el8.6.0+3010+383bc947.1 | ALSA-2021:4292 |
| Rocky Linux | 8 | libecap | 0:1.0.1-2.module+el8.4.0+404+316a0dc5 | RLSA-2021:4292 |
| Rocky Linux | 8 | squid | 7:4.15-1.module+el8.5.0+705+218dec94 | RLSA-2021:4292 |
| Alpine | v3.10, v3.11, v3.12 | squid | 4.15-r0 | ALPINE-CVE-2021-31806 |
| Alpine | v3.13, v3.14, v3.15 and 9 more | squid | 5.0.6-r0 | ALPINE-CVE-2021-31806 |
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; AlmaLinux's OSV database, MIT; 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 rates this Moderate.
This issue has been rated as having a security impact of Moderate. At this stage in their life, Red Hat Enterprise Linux 6 and 7 only accept Important and Critical Security Advisories (RHSAs) and this flaw does not meet these criteria. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata.
Red Hat Satellite does not ship the Squid package, however, does consume it from RHEL 7 repository. Product is not affected by this flaw as squid.conf configuration disables all the http_access fragments except the localhost.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | squid:4-8050020210618131503.b4937e53 | Fixed 2021-11-09 | RHSA-2021:4292 |
| Red Hat Enterprise Linux 6 | squid | Out of support scope | |
| Red Hat Enterprise Linux 6 | squid34 | Out of support scope | |
| Red Hat Enterprise Linux 7 | squid | Out of support scope | |
| Red Hat Enterprise Linux 9 | squid | Not affected |
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-2021-31806.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.