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

CVE-2021-3468: Avahi Denial of Service (DoS) Vulnerability

CVE-2021-3468 is a denial of service flaw in Avahi that allows local attackers to trigger an infinite loop, making the service unresponsive. This article covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-3468 Overview

A flaw was found in Avahi versions 0.6 up to 0.8 that allows a local attacker to trigger a denial of service condition. The event used to signal the termination of the client connection on the Avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the Avahi service, which becomes unresponsive after this flaw is triggered.

Critical Impact

Local attackers can cause the Avahi mDNS/DNS-SD daemon to become completely unresponsive through an infinite loop, disrupting local network service discovery functionality.

Affected Products

  • Avahi versions 0.6 through 0.8
  • Debian Linux 9.0
  • Linux distributions using vulnerable Avahi packages

Discovery Timeline

  • 2021-06-02 - CVE-2021-3468 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-3468

Vulnerability Analysis

This vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition), commonly known as an infinite loop vulnerability. The flaw exists in the way Avahi handles client connection termination events on its Unix socket interface.

When a client connection terminates, the client_work function is responsible for processing this event and cleaning up resources. However, due to improper event handling logic, certain termination scenarios cause the function to enter a loop that cannot exit under normal conditions. This results in the Avahi daemon consuming CPU resources indefinitely while becoming unable to process legitimate service discovery requests.

The local attack vector means an attacker must have local access to the system to exploit this vulnerability. The attack requires low privileges and no user interaction, making it straightforward to execute once local access is obtained.

Root Cause

The root cause lies in the improper handling of the Unix socket connection termination event within the client_work function. The code fails to correctly detect or respond to the client disconnection signal, leading to a condition where the loop continues executing without a valid exit path. This is a classic case of missing or incorrect loop termination logic when processing socket events.

Attack Vector

The attack is executed locally by a low-privileged user who can interact with the Avahi Unix socket. The attacker initiates a connection to the Avahi daemon and then terminates it in a specific manner that triggers the faulty event handling path. Once triggered, the Avahi service enters an infinite loop and becomes unresponsive to all subsequent requests.

The attack mechanism involves:

  1. The attacker establishes a connection to the Avahi Unix socket
  2. The connection is terminated in a way that triggers the vulnerable code path in client_work
  3. The event signaling connection termination is mishandled
  4. The daemon enters an infinite loop, consuming CPU and becoming unresponsive
  5. All mDNS/DNS-SD service discovery functionality on the system is disrupted

Detection Methods for CVE-2021-3468

Indicators of Compromise

  • Avahi daemon process (avahi-daemon) consuming unusually high CPU resources (near 100% of a single core)
  • Avahi service becoming unresponsive to legitimate service discovery queries
  • System logs showing Avahi service timeouts or connection failures
  • Network service discovery (mDNS/Bonjour) functionality ceasing to work on the affected host

Detection Strategies

  • Monitor Avahi daemon CPU usage and alert on sustained high utilization patterns
  • Implement health checks that periodically query the Avahi service for responsiveness
  • Use process monitoring tools to detect when Avahi enters an unresponsive state
  • Check for abnormal connection patterns to the Avahi Unix socket

Monitoring Recommendations

  • Configure system monitoring to track avahi-daemon process metrics including CPU, memory, and thread states
  • Set up automated alerts for Avahi service health degradation or unresponsiveness
  • Monitor system logs for Avahi-related error messages or service restart events
  • Implement network-level monitoring for mDNS traffic anomalies that may indicate service disruption

How to Mitigate CVE-2021-3468

Immediate Actions Required

  • Update Avahi to a patched version that addresses CVE-2021-3468
  • Review and restrict local user access to systems running Avahi services
  • Consider disabling Avahi if mDNS/DNS-SD functionality is not required
  • Implement process monitoring to automatically restart Avahi if it becomes unresponsive

Patch Information

Security patches for this vulnerability are available through distribution package managers. Refer to the Red Hat Bug Report #1939614 for detailed tracking information. Debian users should consult the Debian LTS Advisory June 2022 and Debian LTS Advisory June 2023 for updated package information.

Workarounds

  • Disable the Avahi daemon if mDNS/DNS-SD service discovery is not essential for system operation
  • Restrict local user access to minimize the attack surface for this local-only vulnerability
  • Implement systemd service watchdog functionality to automatically restart Avahi if it becomes unresponsive
  • Use SELinux or AppArmor policies to further restrict Avahi daemon interactions
bash
# Disable Avahi service if not required
sudo systemctl stop avahi-daemon
sudo systemctl disable avahi-daemon

# Or configure automatic restart on failure (systemd)
# Add to /etc/systemd/system/avahi-daemon.service.d/restart.conf
# [Service]
# Restart=on-failure
# RestartSec=5

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechAvahi

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • Red Hat Bug Report #1939614

  • Debian LTS Advisory June 2022

  • Debian LTS Advisory June 2023
  • Related CVEs
  • CVE-2026-24401: Avahi mDNS Daemon DoS Vulnerability

  • CVE-2025-68471: Avahi mDNS Daemon DoS Vulnerability

  • CVE-2025-68468: Avahi Daemon DoS Vulnerability

  • CVE-2025-68276: Avahi mDNS/DNS-SD 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