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-2023-50269

CVE-2023-50269: Squid-cache Squid DOS Vulnerability

CVE-2023-50269 is a Denial of Service vulnerability in Squid-cache Squid caused by uncontrolled recursion in HTTP request parsing. Attackers exploit large X-Forwarded-For headers to crash the service. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-50269 Overview

CVE-2023-50269 is a Denial of Service vulnerability in Squid, a widely-used caching proxy for the Web. The flaw stems from an Uncontrolled Recursion bug (CWE-674) in the HTTP Request parsing functionality. When the follow_x_forwarded_for feature is configured, a remote attacker can exploit this vulnerability by sending a crafted HTTP request with a large X-Forwarded-For header, causing the Squid proxy to enter an uncontrolled recursive state and become unresponsive.

Critical Impact

Remote attackers can perform Denial of Service attacks against Squid proxy servers by exploiting recursive parsing of X-Forwarded-For headers, potentially disrupting network operations and web traffic for organizations relying on Squid for caching and access control.

Affected Products

  • Squid versions 2.6 through 2.7.STABLE9
  • Squid versions 3.1 through 5.9
  • Squid versions 6.0.1 through 6.5

Discovery Timeline

  • 2023-12-14 - CVE-2023-50269 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-50269

Vulnerability Analysis

This vulnerability exists in the HTTP Request parsing component of Squid proxy when processing the X-Forwarded-For header. The X-Forwarded-For header is commonly used to identify the originating IP address of a client connecting through an HTTP proxy or load balancer. When Squid is configured with the follow_x_forwarded_for directive, it processes this header to determine client identity for access control and logging purposes.

The root cause lies in how Squid handles recursively nested or excessively long X-Forwarded-For headers. The parser does not implement proper recursion depth limits, allowing an attacker to craft a malicious request that triggers excessive recursive function calls. This leads to stack exhaustion and service disruption.

Root Cause

The vulnerability is classified as CWE-674 (Uncontrolled Recursion). When parsing the X-Forwarded-For header, Squid's parsing logic recursively processes each IP address entry in the header chain. Without proper bounds checking on the recursion depth or header length, an attacker can force the proxy into a deep recursive loop that exhausts system resources. This design flaw allows unauthenticated remote attackers to cause service disruption with a single crafted HTTP request.

Attack Vector

The attack can be executed remotely over the network without requiring authentication. An attacker needs only the ability to send HTTP requests to a vulnerable Squid proxy. The attack is performed by including a maliciously crafted X-Forwarded-For header with an excessive number of entries or deeply nested values in an HTTP request.

The vulnerability is only exploitable when the follow_x_forwarded_for configuration directive is enabled. This feature is commonly used in environments where Squid sits behind load balancers or other reverse proxies, making many production deployments potentially vulnerable.

The attack results in a complete denial of service condition where the Squid proxy becomes unresponsive, blocking legitimate traffic and disrupting network operations until the service is manually restarted.

Detection Methods for CVE-2023-50269

Indicators of Compromise

  • Unusually large HTTP requests containing extremely long X-Forwarded-For headers
  • Squid proxy service crashes or becoming unresponsive without apparent cause
  • Elevated CPU usage on Squid servers followed by service failure
  • Log entries showing malformed or abnormally long header values in access logs

Detection Strategies

  • Implement network monitoring to detect HTTP requests with abnormally large headers exceeding typical thresholds
  • Configure Web Application Firewall (WAF) rules to block requests with X-Forwarded-For headers exceeding reasonable length limits
  • Monitor Squid process resource consumption for anomalous spikes in CPU or memory usage
  • Deploy intrusion detection signatures that identify requests with excessive comma-separated values in X-Forwarded-For headers

Monitoring Recommendations

  • Enable detailed access logging on Squid proxies to capture header information for forensic analysis
  • Set up automated alerting for Squid service restarts or crashes
  • Monitor network traffic patterns for unusual request volumes targeting the proxy infrastructure
  • Implement health checks that detect and alert on Squid service unavailability

How to Mitigate CVE-2023-50269

Immediate Actions Required

  • Upgrade Squid to version 6.6 or later which contains the official fix for this vulnerability
  • Apply the appropriate patch for your Squid version from the official patch archives
  • If patching is not immediately possible, consider disabling follow_x_forwarded_for if not strictly required
  • Implement request header size limits at upstream load balancers or firewalls

Patch Information

Official patches are available from Squid-cache for affected versions:

  • Squid Patch v5 SQUID-2023_10 - For Squid version 5.x
  • Squid Patch v6 SQUID-2023_10 - For Squid version 6.x

Additional security information is available in the GitHub Security Advisory GHSA-wgq4-4cfg-c4x3.

Distribution-specific updates are available through Debian LTS Security Announcement, Fedora Package Announcements, and NetApp Security Advisory.

Workarounds

  • Disable the follow_x_forwarded_for directive in squid.conf if client IP tracking through this header is not essential
  • Implement upstream filtering to limit the size of X-Forwarded-For headers before they reach Squid
  • Deploy a reverse proxy or load balancer in front of Squid with header validation capabilities
  • Use access control lists (ACLs) to restrict which sources can send requests with X-Forwarded-For headers
bash
# Disable follow_x_forwarded_for in squid.conf as a temporary workaround
# Edit /etc/squid/squid.conf and comment out or remove:
# follow_x_forwarded_for allow all

# Add explicit denial if the directive exists:
follow_x_forwarded_for deny all

# Restart Squid to apply changes:
systemctl restart squid

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSquid

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • Squid Patch v5 SQUID-2023_10

  • Squid Patch v6 SQUID-2023_10

  • GitHub Security Advisory GHSA-wgq4-4cfg-c4x3

  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory ntap-20240119-0005
  • 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-46847: Squid-cache Squid DoS Vulnerability
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