Skip to main content
No exploitation reportedFix available

CVE-2021-28651

No exploitation reported by the sources we read.

  • Published2021-05-27
  • WeaknessCWE-401

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-05-2712:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
33.x= 33no fix published
34.x= 34no fix published
Squid-cache squid
BranchAffectedFixed in
5.0≥ 5.0, < 5.0.65.0.6
4.15≥ 2.0, < 4.154.15

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libecapTuxCare:CentOS:8.4all versions · fixed in 1.0.1-2.module_el8.4.0+2010+24c223d9and 1 other package
  • libecapRocky Linux:8all versions · fixed in 0:1.0.1-2.module+el8.4.0+404+316a0dc5
  • libecapRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapAlmaLinux:8all versions · fixed in 1.0.1-2.module_el8.6.0+2741+01592ae8and 1 other package
  • squidUbuntu:20.04:LTSall versions · fixed in 4.10-1ubuntu1.4
  • squidTuxCare:Ubuntu:16.04all versions · fixed in 3.5.12-1ubuntu7.17and 5 other packages
  • squidTuxCare:RHEL:7all versions · fixed in 7:3.5.20-17.0.3.el7_9.10.tuxcare.els1and 2 other packages
  • squidTuxCare:RHEL:7all versions · fixed in 7:3.5.20-17.0.5.el7_9.99.tuxcare.els1and 2 other packages

65 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-28651 Red Hat Product Security51 products fixed · 4 known affected

    squid: denial of service in URN processing

    squid as a component of Red Hat Enterprise Linux 6 · squid.src as a component of Red Hat Enterprise Linux 6 · squid34 as a component of Red Hat Enterprise Linux 6 · +1 more

  • RHSA-2025:14414 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: squid security update

  • RHSA-2021:4292 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: squid:4 security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:14414 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2021:4292 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the squid service will be restarted automatically.
  3. Workaround from the vendor Red Hat Product Security RHSA-2025:14414 · 21 productsIf possible, disable URN processing by adding the following lines in `squid.conf`: ``` acl URN proto URN http_access deny URN ```
  4. No fix planned, says the vendor Red Hat Product Security CVE-2021-28651 · 4 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.17.5read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • NVDweakness (CWE)CWE-401read 2026-10-23
  • FIRST EPSSEPSS score7.5 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-05-27
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2021-28651?

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.

Is CVE-2021-28651 actively exploited?

Active exploitation of CVE-2021-28651 has not been confirmed. Its EPSS score was 7.5% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-28651?

CVE-2021-28651 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running squid? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record