CVE & CISA-KEV Catalog

CVE-2021-28651

HIGHEPSS 94th pctl
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
squidAmazon
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
squid-debuginfoAmazon
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
squid-migration-scriptAmazon
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
squid-sysvinitAmazon
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
Fixed in:7:3.5.20-17.amzn2.7.2
squidDebian
Fixed in:4.13-10CVE-2021-28651
Fixed in:4.13-10CVE-2021-28651
Fixed in:4.13-10CVE-2021-28651
squidRocky
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
squidRed Hat / RHEL
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

squid-debuginfoRed Hat / RHEL
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

squid-debuginfoRocky
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
squid-migration-scriptRocky
Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
squid-migration-scriptRed Hat / RHEL
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

squid-sysvinitRocky
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414
squid-sysvinitRed Hat / RHEL
Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14.ppc64RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:7:3.5.20-17.el7_9.14RHSA-2025:14414

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

squidUbuntu
Fixed in:3.5.12-1ubuntu7.16+esm3USN-6857-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:3.5.27-1ubuntu1.11USN-4981-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:3.5.27-1ubuntu1.14+esm2USN-6857-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.10-1ubuntu1.4USN-4981-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

squid3Ubuntu
Fixed in:3.5.12-1ubuntu7.16+esm3USN-6857-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:3.5.27-1ubuntu1.11USN-4981-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:3.5.27-1ubuntu1.14+esm2USN-6857-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

7.45%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.360%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.019%--

Common questions

How do I fix CVE-2021-28651?

Published advisories record a fix for 15 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-28651 being actively exploited?

Not that we know of. CVE-2021-28651 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 7.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 94% of all scored CVEs.

How severe is CVE-2021-28651?

CVE-2021-28651 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-28651 affect?

Published advisories record a fix for squid (Amazon), squid-debuginfo (Amazon), squid-migration-script (Amazon), squid-sysvinit (Amazon), and 11 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-28651
CVE-2021-28651 severity badge

Markdown

[![CVE-2021-28651](https://tridentstack.com/cve/badge/CVE-2021-28651.svg)](https://tridentstack.com/cve/CVE-2021-28651)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-28651"><img src="https://tridentstack.com/cve/badge/CVE-2021-28651.svg" alt="CVE-2021-28651"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.