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-28116

CVE-2021-28116: Squid-cache Information Disclosure Flaw

CVE-2021-28116 is an information disclosure vulnerability in Squid-cache Squid caused by an out-of-bounds read in WCCP protocol data. This flaw can be chained for remote code execution. Learn about affected versions and fixes.

Published: February 25, 2026

CVE-2021-28116 Overview

CVE-2021-28116 is an out-of-bounds read vulnerability affecting Squid proxy server through version 4.14 and 5.x through 5.0.5. In certain configurations, the vulnerability exists within the WCCP (Web Cache Communication Protocol) implementation, allowing attackers to disclose sensitive information from memory. This vulnerability can be leveraged as part of an attack chain to achieve remote code execution running as the nobody user.

Critical Impact

This out-of-bounds read vulnerability can expose sensitive memory contents and potentially be chained with other vulnerabilities to achieve remote code execution on affected Squid proxy servers.

Affected Products

  • Squid-cache Squid versions through 4.14
  • Squid-cache Squid versions 5.x through 5.0.5
  • Fedora 33 and 34 (bundled Squid packages)
  • Debian Linux 10.0 and 11.0 (bundled Squid packages)

Discovery Timeline

  • 2021-03-09 - CVE-2021-28116 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-28116

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read), occurring within Squid's WCCP protocol data handling code. The WCCP protocol is used for transparent redirection of traffic to web caches, and the vulnerable code path improperly validates bounds when processing WCCP protocol messages.

When Squid receives specially crafted WCCP protocol data, the parser fails to properly validate the length of input data before reading from memory buffers. This allows an attacker to trigger a read operation beyond the allocated buffer boundaries, potentially exposing sensitive information stored in adjacent memory regions.

The information disclosure itself may seem limited in isolation, but the Zero Day Initiative Advisory notes this vulnerability can be chained with other techniques to escalate to remote code execution. The attack executes in the context of the nobody user, which is the typical unprivileged account under which Squid runs.

Root Cause

The root cause of this vulnerability lies in insufficient bounds checking within the WCCP protocol message parser. When processing incoming WCCP data packets, the code reads data based on length fields within the protocol message without properly validating that these lengths fall within the actual allocated buffer size. This classic out-of-bounds read pattern allows memory disclosure when an attacker supplies malformed WCCP messages with manipulated length values.

Attack Vector

The attack is network-based and can be executed remotely without authentication. An attacker must be able to send WCCP protocol traffic to the vulnerable Squid server, which typically listens on UDP port 2048 for WCCP messages. The attack requires that WCCP functionality be enabled in the Squid configuration.

The attacker crafts malicious WCCP protocol packets with length fields designed to cause the parser to read beyond buffer boundaries. The disclosed memory contents are then returned to the attacker, potentially revealing sensitive information such as memory addresses, configuration data, or session information that could facilitate further exploitation.

For detailed technical analysis of the vulnerability mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2021-28116

Indicators of Compromise

  • Unusual WCCP traffic patterns on UDP port 2048, particularly malformed or unusually sized packets
  • Squid process crashes or unexpected memory access errors in logs
  • Anomalous network connections to the Squid server from unexpected sources attempting WCCP communication
  • Memory disclosure artifacts in network traffic responses from the Squid server

Detection Strategies

  • Monitor WCCP protocol traffic (UDP port 2048) for malformed packets with abnormal length fields
  • Implement network intrusion detection rules to identify potential WCCP exploitation attempts
  • Review Squid access and cache logs for unusual error patterns or crashes
  • Deploy endpoint detection to monitor for unexpected memory access patterns in the Squid process

Monitoring Recommendations

  • Enable verbose logging for WCCP protocol handling in Squid configurations
  • Implement network-level monitoring for WCCP traffic anomalies
  • Set up alerting for Squid service crashes or restarts that may indicate exploitation attempts
  • Monitor for reconnaissance activity targeting WCCP-enabled services on your network

How to Mitigate CVE-2021-28116

Immediate Actions Required

  • Upgrade Squid to a patched version (versions after 4.14 for the 4.x branch, or after 5.0.5 for the 5.x branch)
  • If WCCP functionality is not required, disable it in the Squid configuration to eliminate the attack surface
  • Implement network-level filtering to restrict WCCP traffic to trusted sources only
  • Apply vendor-supplied patches from your Linux distribution (Fedora, Debian, Gentoo)

Patch Information

Security patches are available from the Squid project and various Linux distributions. Consult the Squid Cache Version Information page for the latest patched versions. Distribution-specific fixes are available through:

  • Debian Security Advisory DSA-5171
  • Fedora Package Announcements
  • Gentoo GLSA 202105-14

Workarounds

  • Disable WCCP entirely if not required by removing or commenting out wccp_router and wccp2_router directives
  • Restrict WCCP traffic using firewall rules to only allow connections from trusted router IP addresses
  • Deploy network segmentation to isolate Squid servers and limit exposure to untrusted WCCP traffic
  • Consider deploying a Web Application Firewall (WAF) or IDS with rules to detect WCCP exploitation attempts
bash
# Configuration example - Disable WCCP in squid.conf
# Comment out or remove any wccp_router directives:
# wccp_router 192.168.1.1
# wccp2_router 192.168.1.1

# If WCCP must be used, restrict to specific trusted routers only:
# wccp_router 10.0.0.1
# acl wccp_allowed src 10.0.0.1

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSquid

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability7.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-125
  • Technical References
  • Openwall Security List Post

  • GitHub Security Advisory

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA Advisory

  • Debian Security Advisory

  • Zero Day Initiative Advisory
  • Vendor Resources
  • Squid Cache Version Information
  • Related CVEs
  • CVE-2026-33515: Squid Information Disclosure Vulnerability

  • CVE-2025-62168: Squid Caching Proxy Info Disclosure Flaw

  • CVE-2022-41318: Squid-cache Information Disclosure Flaw

  • CVE-2022-41317: Squid-cache Information Disclosure Flaw
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