cve.bz

CVE-2021-28651

7.5 highExploit referenceEPSS 7.4%Fix available

High (7.5). EPSS 7.4% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to a buffer-management bug, it allows a denial of service. When resolving a request with the urn: scheme, the parser leaks a small amount of memory. However, there is an unspecified attack methodology that can easily trigger a large amount of memory consumption.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
7.4% (unchanged from 7.4% a week ago; 7.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
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-2021-28651 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28651?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28651?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-28651 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:squidfrom 2.0 before 4.15
squid-cache:squidfrom 5.0 before 5.0.6
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9squid33.5.23-5+deb9u7DLA-2685-1
Debian10squid4.6-1+deb10u6DSA-4924-1
Debian12, 13, 14squid4.13-10DEBIAN-CVE-2021-28651
Ubuntu18.04:LTSsquid33.5.27-1ubuntu1.11UBUNTU-CVE-2021-28651 USN-4981-1
Ubuntu20.04:LTSsquid4.10-1ubuntu1.4UBUNTU-CVE-2021-28651 USN-4981-1
UbuntuPro:16.04:LTSsquid33.5.12-1ubuntu7.16+esm3UBUNTU-CVE-2021-28651 USN-6857-1
UbuntuPro:18.04:LTSsquid33.5.27-1ubuntu1.14+esm2USN-6857-1
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2021:4292
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.15-1.module+el8.5.0+11469+24c223d9RHSA-2021:4292
Red Hatrhel_els:7squid, squid-sysvinit, squid-debuginfo and 1 more7:3.5.20-17.el7_9.14RHSA-2025:14414
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 moresquid4.15-5.26.1SUSE-SU-2021:1961-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSsquid33.1.23-8.16.37.18.1SUSE-SU-2022:14914-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 3 moresquid3.5.21-26.35.1SUSE-SU-2022:2392-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5squid4.15-4.18.1SUSE-SU-2021:1838-1
openSUSELeap 15.2squid4.15-lp152.2.9.1openSUSE-SU-2021:0879-1
openSUSELeap 15.3squid4.15-5.26.1openSUSE-SU-2021:1961-1
openSUSETumbleweedsquid4.16-1.5openSUSE-SU-2024:11403-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2021:4292
AlmaLinux8squid7:4.15-3.module_el8.6.0+3010+383bc947.1ALSA-2021:4292
Rocky Linux8libecap0:1.0.1-2.module+el8.4.0+404+316a0dc5RLSA-2021:4292
Rocky Linux8squid7:4.15-1.module+el8.5.0+705+218dec94RLSA-2021:4292
Alpinev3.10, v3.11, v3.12squid4.15-r0ALPINE-CVE-2021-28651
Alpinev3.13, v3.14, v3.15 and 9 moresquid5.0.6-r0ALPINE-CVE-2021-28651

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

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

If possible, disable URN processing by adding the following lines in `squid.conf`:

```

acl URN proto URN

http_access deny URN

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsquid-7:3.5.20-17.el7_9.14Fixed 2025-08-25RHSA-2025:14414
Red Hat Enterprise Linux 8squid:4-8050020210618131503.b4937e53Fixed 2021-11-09RHSA-2021:4292
Red Hat Enterprise Linux 6squidOut of support scope
Red Hat Enterprise Linux 6squid34Out of support scope
Red Hat Enterprise Linux 9squidNot 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-28651.

References

Check your stackJSON