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

CVE-2021-40118: Cisco ASA DoS Vulnerability

CVE-2021-40118 is a denial of service vulnerability in Cisco Adaptive Security Appliance (ASA) that allows remote attackers to trigger device reloads. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-40118 Overview

A vulnerability in the web services interface of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to trigger a denial of service (DoS) condition. This vulnerability is due to improper input validation when parsing HTTPS requests. An attacker could exploit this vulnerability by sending a malicious HTTPS request to an affected device. A successful exploit could allow the attacker to cause the device to reload, resulting in a DoS condition.

Critical Impact

Unauthenticated remote attackers can cause affected Cisco ASA and FTD devices to reload by sending specially crafted HTTPS requests, resulting in network security infrastructure disruption.

Affected Products

  • Cisco Adaptive Security Appliance (ASA) Software
  • Cisco Firepower Threat Defense (FTD) Software
  • Cisco ASA 5505, 5512-X, 5515-X, 5525-X, 5545-X, 5555-X, 5580, and 5585-X Hardware Appliances

Discovery Timeline

  • October 27, 2021 - CVE-2021-40118 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-40118

Vulnerability Analysis

This vulnerability resides in the web services interface of Cisco ASA and FTD software, specifically in the HTTPS request parsing functionality. The web services interface is commonly used for remote access VPN (WebVPN/AnyConnect) and management purposes. When the affected device processes incoming HTTPS requests, it fails to properly validate certain input parameters, leading to a stack-based buffer overflow condition (CWE-121) that can result in out-of-bounds memory writes (CWE-787).

The vulnerability is particularly concerning because it requires no authentication to exploit. Any network-accessible attacker who can reach the web services interface on TCP port 443 can send malicious requests to trigger the condition. The attack is relatively simple to execute with low complexity requirements and no user interaction needed.

Root Cause

The root cause of this vulnerability is improper input validation in the HTTPS request parsing code. When the web services interface receives specially crafted HTTPS requests, the parsing logic fails to properly check the boundaries of input data before writing to stack memory. This results in a stack-based buffer overflow (CWE-121) that can corrupt adjacent memory structures, ultimately causing the device to crash and reload.

The vulnerability is classified under CWE-787 (Out-of-bounds Write), indicating that the software writes data past the end or before the beginning of the intended buffer. Combined with CWE-121 (Stack-based Buffer Overflow), this suggests the overflow occurs in stack-allocated memory during request processing.

Attack Vector

The attack vector is network-based, requiring the attacker to have network connectivity to the web services interface of the vulnerable device. Exploitation involves sending a maliciously crafted HTTPS request to the device's web services interface (typically exposed on TCP port 443).

The attack methodology involves:

  1. Identifying a vulnerable Cisco ASA or FTD device with the web services interface enabled
  2. Crafting an HTTPS request with specially formatted data designed to trigger the buffer overflow
  3. Sending the malicious request to the target device
  4. The device's HTTPS parsing routine fails to properly validate the input
  5. A stack-based buffer overflow occurs, corrupting memory and causing the device to crash
  6. The device reloads, causing a denial of service condition

Since no authentication is required and the attack can be executed remotely over the network, this vulnerability poses a significant risk to organizations that expose their ASA or FTD web services interfaces to untrusted networks.

Detection Methods for CVE-2021-40118

Indicators of Compromise

  • Unexpected device reloads or reboots of Cisco ASA or FTD appliances
  • Crash dump files indicating memory corruption in the web services interface processes
  • High volume of unusual HTTPS requests to the management interface from external sources
  • Syslog messages indicating the device reloaded due to an unhandled exception or crash

Detection Strategies

  • Monitor Cisco ASA/FTD syslog messages for unexpected reload events or crash notifications
  • Implement network-based intrusion detection signatures to identify malformed HTTPS requests targeting Cisco web services interfaces
  • Deploy web application firewalls or IPS rules to inspect and filter anomalous HTTPS traffic destined for management interfaces
  • Analyze traffic patterns for unusual spikes in HTTPS connections to ASA/FTD devices

Monitoring Recommendations

  • Enable comprehensive logging on Cisco ASA/FTD devices to capture crash events and reload reasons
  • Configure SNMP traps or syslog alerts for device reload events
  • Implement network flow analysis to detect anomalous traffic patterns to web services interfaces
  • Regularly review crash dump files for signs of exploitation attempts

How to Mitigate CVE-2021-40118

Immediate Actions Required

  • Review the Cisco Security Advisory for detailed guidance on affected versions and fixed releases
  • Upgrade affected Cisco ASA and FTD devices to patched software versions as specified in the advisory
  • Restrict network access to the web services interface to trusted IP addresses only using access control lists (ACLs)
  • Consider disabling the web services interface if it is not required for business operations

Patch Information

Cisco has released software updates that address this vulnerability. Organizations should consult the Cisco Security Advisory (cisco-sa-asafdt-webvpn-dos-KSqJAKPA) to determine the appropriate fixed software release for their specific ASA or FTD version. The advisory provides a detailed mapping of affected versions to their corresponding fixed releases.

Administrators should plan and execute upgrades following Cisco's recommended procedures to minimize service disruption while ensuring protection against this vulnerability.

Workarounds

  • Implement access control lists (ACLs) to restrict access to the web services interface to only authorized management hosts and VPN client networks
  • Use Cisco's control plane protection mechanisms to rate-limit connections to the web services interface
  • If feasible, disable the web services interface (WebVPN/AnyConnect) if remote access VPN functionality is not required
  • Deploy the ASA/FTD devices behind additional network security controls that can inspect and filter malicious HTTPS traffic
bash
# Example ACL configuration to restrict web services access on Cisco ASA
# Adjust IP addresses to match your trusted management networks

access-list OUTSIDE_MGMT_ACL extended permit tcp host 10.1.1.100 any eq https
access-list OUTSIDE_MGMT_ACL extended permit tcp 10.2.0.0 255.255.0.0 any eq https
access-list OUTSIDE_MGMT_ACL extended deny tcp any any eq https

# Apply to control plane or interface as appropriate
# Consult Cisco documentation for your specific configuration requirements

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechCisco Adaptive Security Appliance

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.26%

  • 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-121

  • CWE-787
  • Vendor Resources
  • Cisco Security Advisory
  • Related CVEs
  • CVE-2021-40117: Cisco ASA SSL/TLS DoS Vulnerability

  • CVE-2020-3572: Cisco ASA SSL/TLS DoS Vulnerability

  • CVE-2020-3529: Cisco ASA SSL VPN DoS Vulnerability

  • CVE-2020-3305: Cisco ASA BGP Denial of Service 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