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-2020-8277

CVE-2020-8277: Node.js DNS DOS Vulnerability

CVE-2020-8277 is a denial of service flaw in Node.js that allows attackers to crash applications via DNS requests with large response sets. This post explains its impact, affected versions, and mitigation steps.

Published: March 4, 2026

CVE-2020-8277 Overview

A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service in versions prior to 15.2.1, 14.15.1, and 12.19.1. The vulnerability is exploited by getting the application to resolve a DNS record with a larger number of responses, leading to resource exhaustion. This issue affects the c-ares DNS library used by Node.js and has been fixed in versions 15.2.1, 14.15.1, and 12.19.1.

Critical Impact

Network-accessible denial of service vulnerability allowing unauthenticated attackers to cause service disruption in Node.js applications by manipulating DNS resolution with excessive response records.

Affected Products

  • Node.js versions < 15.2.1, < 14.15.1, and < 12.19.1
  • Fedora 32 and 33
  • Oracle Blockchain Platform
  • Oracle GraalVM Enterprise Edition 19.3.4 and 20.3.0
  • Oracle JD Edwards EnterpriseOne Tools
  • Oracle MySQL Cluster
  • Oracle Retail Xstore Point of Service (16.0.6, 17.0.4, 18.0.3, 19.0.2)
  • c-ares (underlying DNS library)

Discovery Timeline

  • November 19, 2020 - CVE-2020-8277 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-8277

Vulnerability Analysis

This vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption), a resource exhaustion vulnerability affecting the DNS resolution functionality in Node.js applications. The root cause lies in how the c-ares DNS library, which Node.js uses for asynchronous DNS resolution, handles DNS responses containing an unusually large number of records.

When a Node.js application performs DNS lookups on attacker-controlled hostnames, a malicious DNS server can return responses with an excessive number of DNS records. The c-ares library does not implement adequate limits on the number of records it processes, leading to excessive memory allocation and CPU consumption. This can cause the Node.js process to become unresponsive or crash, resulting in a denial of service condition.

The vulnerability is particularly dangerous in applications that perform DNS resolution on user-supplied input, such as web applications that fetch external resources, email servers, or proxy services. Since no authentication is required and the attack can be initiated remotely over the network, this vulnerability poses a significant risk to internet-facing Node.js deployments.

Root Cause

The vulnerability originates in the c-ares DNS library's handling of DNS response records. When processing DNS responses, the library allocates memory for each record without enforcing reasonable limits on the total number of records or total response size. An attacker can craft DNS responses with thousands of records, causing the library to consume excessive system resources. This lack of input validation in DNS response processing allows a single malicious DNS query to trigger resource exhaustion on the target system.

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or user interaction. An attacker needs to control a DNS server and convince a vulnerable Node.js application to resolve a hostname pointing to their malicious DNS infrastructure. This can be achieved through various means, such as providing a malicious URL to a web scraping service, embedding resources from attacker-controlled domains in web applications, or manipulating user input that gets passed to DNS resolution functions.

The attack flow involves the following steps: the attacker registers a domain and configures a malicious DNS server to return oversized responses. When the vulnerable Node.js application attempts to resolve the attacker's hostname, the malicious DNS server responds with an excessive number of DNS records. The c-ares library processes all records, allocating memory for each one, ultimately exhausting system resources and causing a denial of service.

Detection Methods for CVE-2020-8277

Indicators of Compromise

  • Unusual spikes in memory consumption by Node.js processes during DNS resolution operations
  • DNS queries to unfamiliar or suspicious domains followed by process crashes or unresponsiveness
  • Network traffic showing DNS responses with abnormally large payload sizes (significantly exceeding typical DNS response sizes)
  • Process monitoring showing Node.js applications becoming unresponsive after external DNS requests

Detection Strategies

  • Monitor Node.js process resource utilization (memory and CPU) for abnormal spikes correlated with DNS activity
  • Implement DNS response size monitoring at the network level to detect oversized DNS responses
  • Deploy application-level logging to track DNS resolution requests and correlate with resource exhaustion events
  • Use runtime application self-protection (RASP) solutions to detect and block anomalous DNS resolution patterns

Monitoring Recommendations

  • Configure alerts for Node.js process memory usage exceeding baseline thresholds during DNS operations
  • Implement network-level DNS traffic analysis to identify responses with excessive record counts
  • Enable detailed logging for DNS resolution functions such as dns.resolve() and dns.lookup() in Node.js applications
  • Monitor for process restarts or crashes in Node.js services that may indicate exploitation attempts

How to Mitigate CVE-2020-8277

Immediate Actions Required

  • Upgrade Node.js to patched versions: 15.2.1 or later, 14.15.1 or later, or 12.19.1 or later
  • Audit applications to identify code paths that perform DNS resolution on user-controlled input
  • Implement input validation and allowlisting for hostnames that applications are permitted to resolve
  • Consider implementing DNS resolution timeouts and resource limits at the application level

Patch Information

Node.js has released security patches addressing this vulnerability. Update to the following fixed versions immediately:

  • Node.js 15.x: Upgrade to 15.2.1 or later
  • Node.js 14.x (LTS): Upgrade to 14.15.1 or later
  • Node.js 12.x (LTS): Upgrade to 12.19.1 or later

For detailed patch information, refer to the Node.js Security Blog Post. Organizations using Oracle products should consult the relevant Oracle security advisories including the Oracle January 2021 Security Alert and subsequent quarterly updates.

Additional distribution-specific patches are available through Fedora and Gentoo security advisories.

Workarounds

  • Implement network-level DNS response filtering to block responses exceeding reasonable size thresholds
  • Use application-level allowlists to restrict DNS resolution to trusted domains only
  • Deploy a local DNS proxy or resolver that validates and limits DNS response sizes before passing to applications
  • Implement rate limiting on DNS resolution requests to reduce the impact of potential exploitation attempts
bash
# Example: Verify Node.js version is patched
node --version
# Should output v15.2.1+, v14.15.1+, or v12.19.1+

# Example: Check installed Node.js for vulnerable versions
npm list | grep node
# Ensure all Node.js dependencies are updated

# Example: Update Node.js using nvm (Node Version Manager)
nvm install 14.15.1
nvm use 14.15.1

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNodejs

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability47.58%

  • 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-400
  • Technical References
  • HackerOne Report #1033107

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202012-11

  • Gentoo GLSA 202101-07
  • Vendor Resources
  • Node.js Security Blog Post

  • Oracle July 2021 Security Alert

  • Oracle April 2021 Security Alert

  • Oracle April 2022 Security Alert

  • Oracle January 2021 Security Alert

  • Oracle October 2021 Security Alert
  • Related CVEs
  • CVE-2026-21712: Node.js URL Processing DoS Vulnerability

  • CVE-2026-21710: Node.js HTTP DOS Vulnerability

  • CVE-2026-21714: Node.js HTTP/2 Memory Leak DoS Vulnerability

  • CVE-2026-1526: Undici WebSocket Client 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