CVE-2021-28651
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
33- Squid/Squiddescription
- osv-coords31 versionspkg:rpm/almalinux/libecappkg:rpm/almalinux/libecap-develpkg:rpm/almalinux/squidpkg:rpm/opensuse/squid&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/squid&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/squid&distro=openSUSE%20Tumbleweedpkg:rpm/suse/squid3&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/squid3&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/squid&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/squid&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/squid&distro=SUSE%20Manager%20Proxy%204.0pkg:rpm/suse/squid&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0pkg:rpm/suse/squid&distro=SUSE%20Manager%20Server%204.0pkg:rpm/suse/squid&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/squid&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 1.0.1-2.module_el8.6.0+2741+01592ae8+ 30 more
- (no CPE)range: < 1.0.1-2.module_el8.6.0+2741+01592ae8
- (no CPE)range: < 1.0.1-2.module_el8.6.0+2741+01592ae8
- (no CPE)range: < 7:4.15-3.module_el8.6.0+3010+383bc947.1
- (no CPE)range: < 4.15-lp152.2.9.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.16-1.5
- (no CPE)range: < 3.1.23-8.16.37.18.1
- (no CPE)range: < 3.1.23-8.16.37.18.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 3.5.21-26.35.1
- (no CPE)range: < 3.5.21-26.35.1
- (no CPE)range: < 3.5.21-26.35.1
- (no CPE)range: < 4.15-4.18.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 3.5.21-26.35.1
- (no CPE)range: < 4.15-4.18.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 4.15-5.26.1
- (no CPE)range: < 3.5.21-26.35.1
- (no CPE)range: < 3.5.21-26.35.1
Patches
Vulnerability mechanics
Root cause
"Buffer-management bug in URN response parsing causes a memory leak."
Attack vector
An attacker sends a request using the urn: scheme to a vulnerable Squid proxy. When Squid resolves the request, a buffer-management bug in the URN response parser causes a small memory leak per request [ref_id=1]. While each individual leak is small, the advisory notes that an unspecified attack methodology can easily trigger a large amount of memory consumption, leading to denial of service [ref_id=1].
Affected code
The vulnerability is in Squid's handling of RFC 2141 / 2169 (URN) response parsing. The advisory lists it as "RFC 2141 / 2169 (URN) Response Parsing Memory Leak CVE-2021-28651" [ref_id=1]. The exact function names and file paths are not specified in the available reference.
What the fix does
The advisory does not include a patch or specific remediation details. Squid versions before 4.15 and 5.x before 5.0.6 are affected [ref_id=1]. The advisory states that the majority of the 55 discovered vulnerabilities (including this one) remain unfixed, with no patches or workarounds available [ref_id=1].
Preconditions
- networkThe attacker must be able to send requests to a vulnerable Squid proxy (version before 4.15 or 5.x before 5.0.6).
- inputThe request must use the urn: scheme to trigger the vulnerable code path.
Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/mitrevendor-advisory
- www.debian.org/security/2021/dsa-4924mitrevendor-advisory
- seclists.org/fulldisclosure/2023/Oct/14mitremailing-list
- www.openwall.com/lists/oss-security/2023/10/11/3mitremailing-list
- lists.debian.org/debian-lts-announce/2021/06/msg00014.htmlmitremailing-list
- bugs.squid-cache.org/show_bug.cgimitre
- github.com/squid-cache/squid/security/advisories/GHSA-ch36-9jhx-phm4mitre
- security.netapp.com/advisory/ntap-20210716-0007/mitre
News mentions
0No linked articles in our index yet.