CVE-2021-46784
Squid vulnerability analysis and mitigation

Overview

CVE-2021-46784 affects Squid versions 3.x through 3.5.28, 4.x through 4.17, and 5.x before 5.6. The vulnerability stems from improper buffer management when processing long Gopher server responses, which can lead to a Denial of Service condition (NVD, GitHub Advisory).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The issue is related to improper buffer management when processing Gopher server responses, specifically involving the handling of buffer operations in the Gopher protocol implementation (NVD, NetApp Advisory).

Impact

When successfully exploited, this vulnerability can result in a Denial of Service (DoS) condition, affecting the availability of the Squid proxy service. The impact is primarily focused on service availability, with no direct effect on confidentiality or integrity of the system (GitHub Advisory, NetApp Advisory).

Mitigation and workarounds

A workaround is available by denying access to gopher:// resources by adding 'acl gopher proto gopher' and 'http_access deny gopher' to the top of squid.conf. For a permanent fix, users should upgrade to Squid version 5.6 or apply the available patches. Patch archives are available for both Squid 4 and Squid 5 versions (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Squid vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-54574CRITICAL9.8
  • SquidSquid
  • squid-debugsource
NoYesAug 01, 2025
CVE-2025-62168HIGH7.5
  • SquidSquid
  • libecap
NoYesOct 17, 2025
CVE-2024-45802HIGH7.5
  • SquidSquid
  • libecap
NoYesOct 28, 2024
CVE-2025-59362MEDIUM4
  • SquidSquid
  • libecap-devel
NoYesSep 26, 2025
ELSA-2025-20935HIGHN/A
  • SquidSquid
  • squid
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management