The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-46784

CVE-2021-46784: Squid-cache Squid DoS Vulnerability

CVE-2021-46784 is a denial of service vulnerability in Squid-cache Squid caused by improper buffer management when processing Gopher responses. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-46784 Overview

CVE-2021-46784 is a Denial of Service vulnerability affecting Squid caching proxy server 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 cause the Squid proxy service to crash or become unresponsive.

Critical Impact

Authenticated attackers can exploit improper buffer management in Squid's Gopher protocol handler to cause service disruption, potentially affecting all users relying on the proxy for internet access.

Affected Products

  • Squid-cache Squid versions 3.x through 3.5.28
  • Squid-cache Squid versions 4.x through 4.17
  • Squid-cache Squid versions 5.x before 5.6
  • Debian Linux 10.0, 11.0, and 12.0

Discovery Timeline

  • 2022-07-17 - CVE-2021-46784 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-46784

Vulnerability Analysis

This vulnerability is classified under CWE-617 (Reachable Assertion), indicating that the application contains an assertion that can be triggered by a remote attacker. When Squid processes responses from Gopher servers, the buffer management logic fails to properly handle excessively long responses. This improper handling leads to an assertion failure that terminates the Squid process.

The vulnerability requires low privileges to exploit, meaning an authenticated user with access to the proxy can trigger the condition. However, no user interaction is required beyond initiating the malicious request. The impact is limited to availability—there is no confidentiality or integrity impact, but a successful exploit can completely disrupt proxy services.

Root Cause

The root cause lies in Squid's buffer management code for handling Gopher protocol responses. When a Gopher server returns an unusually long response, the buffer handling logic encounters an unexpected state that triggers an assertion failure. The Gopher protocol, while largely deprecated, remains supported in older Squid versions for backward compatibility. The assertion was intended as a debugging safeguard but became reachable in production through crafted Gopher responses.

Attack Vector

The attack is network-based and can be executed by any authenticated user with access to the Squid proxy. An attacker needs to either control a malicious Gopher server or be able to redirect Squid to connect to such a server. When the proxy processes the oversized response, the buffer management assertion triggers, causing the Squid daemon to crash.

The attack flow involves:

  1. Attacker configures a Gopher server to return excessively long responses
  2. Attacker sends a request through the vulnerable Squid proxy to the malicious Gopher server
  3. Squid attempts to process the long response and fails due to improper buffer handling
  4. The assertion failure causes the Squid process to terminate, denying service to all proxy users

Detection Methods for CVE-2021-46784

Indicators of Compromise

  • Unexpected Squid process crashes or restarts in system logs
  • Assertion failure messages in Squid error logs referencing buffer management
  • Unusual Gopher protocol traffic patterns (port 70) through the proxy
  • Multiple proxy service interruptions without clear infrastructure cause

Detection Strategies

  • Monitor Squid access logs for Gopher protocol requests (gopher:// URLs)
  • Configure alerting for Squid daemon crashes or unexpected restarts
  • Implement network monitoring for outbound connections to port 70 (Gopher)
  • Review system logs for assertion failure core dumps from the Squid process

Monitoring Recommendations

  • Enable verbose logging for Squid proxy to capture protocol-specific errors
  • Set up process monitoring to detect and alert on Squid service availability
  • Implement baseline analysis for Gopher traffic volume to detect anomalies
  • Configure automatic service restart with crash notification for rapid incident response

How to Mitigate CVE-2021-46784

Immediate Actions Required

  • Upgrade Squid to version 5.6 or later, which contains the fix for this vulnerability
  • For Squid 4.x installations, apply the SQUID-2021_7 patch for version 4
  • For Squid 5.x installations prior to 5.6, apply the SQUID-2021_7 patch for version 5
  • Review the GitHub Security Advisory GHSA-f5cp-6rh3-284w for complete remediation guidance

Patch Information

Squid-cache has released patches addressing this vulnerability. The fix is available in Squid version 5.6 and has been backported to older supported versions. The specific commit addressing this issue resolves the buffer management problem in the Gopher response handler. Debian users should consult the Debian CVE Tracker for distribution-specific package updates. NetApp customers should review the NetApp Security Advisory for affected product guidance.

Workarounds

  • Disable Gopher protocol support in Squid configuration if not required
  • Block outbound connections to port 70 at the network firewall level
  • Implement access controls to restrict which users can request Gopher URLs
  • Configure Squid to deny requests matching gopher:// URI patterns
bash
# Squid configuration to block Gopher protocol requests
# Add to squid.conf to mitigate CVE-2021-46784

# Create ACL to match Gopher protocol
acl gopher_protocol proto GOPHER

# Deny all Gopher protocol requests
http_access deny gopher_protocol

# Alternatively, block at URL pattern level
acl gopher_urls urlpath_regex ^gopher://
http_access deny gopher_urls

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSquid

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability12.73%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-617
  • Technical References
  • Openwall Mailing List Update

  • Openwall Mailing List Update

  • Openwall Mailing List Update

  • Squid Patch for Version 4

  • Debian CVE Tracker Entry

  • NetApp Security Advisory
  • Vendor Resources
  • Squid Patch for Version 5

  • GitHub Commit for Squid

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32748: Squid-cache Squid DoS Vulnerability

  • CVE-2026-33526: Squid Caching Proxy DoS Vulnerability

  • CVE-2023-5824: Squid-cache Squid DOS Vulnerability

  • CVE-2023-50269: Squid-cache Squid DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English